diff --git a/pkg/diff2/externaldns.go b/pkg/diff2/externaldns.go index 6eda1cf69..abb6fed8b 100644 --- a/pkg/diff2/externaldns.go +++ b/pkg/diff2/externaldns.go @@ -81,10 +81,9 @@ func parseExternalDNSTxtLabel(label string, customPrefix string) *externalDNSMan if customPrefix != "" { if strings.HasPrefix(strings.ToLower(workingLabel), strings.ToLower(customPrefix)) { workingLabel = workingLabel[len(customPrefix):] - } else { - // Custom prefix specified but not found - this might be a legacy record - // Continue with original label } + // else: Custom prefix specified but not found - this might be a legacy record + // Continue with original label } // Standard prefixes used by external-dns