From 322a2ee67dcfa99095d592b92b9f265ef7a70e07 Mon Sep 17 00:00:00 2001 From: Thomas Limoncelli Date: Wed, 3 Dec 2025 13:58:30 -0500 Subject: [PATCH] linting --- pkg/diff2/externaldns.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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