lint(revive): fix indent-error-flow violations (#7977)

This commit is contained in:
Ville Vesilehto
2026-03-30 03:01:22 +03:00
committed by GitHub
parent 7fd983b02c
commit 867cd8fd6b
4 changed files with 12 additions and 14 deletions

View File

@@ -669,9 +669,8 @@ func (k *Kubernetes) findMultiClusterServices(r recordRequest, zone string) (ser
func (k *Kubernetes) Serial(state request.Request) uint32 {
if !k.isMultiClusterZone(state.Zone) {
return uint32(k.APIConn.Modified(ModifiedInternal)) // #nosec G115 -- Unix time to SOA serial
} else {
return uint32(k.APIConn.Modified(ModifiedMultiCluster)) // #nosec G115 -- Unix time to SOA serial
}
return uint32(k.APIConn.Modified(ModifiedMultiCluster)) // #nosec G115 -- Unix time to SOA serial
}
// MinTTL returns the minimal TTL.