From 7dc81bb4b1182c64aa402be854dfb386f9a2b3a6 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli <6293917+tlimoncelli@users.noreply.github.com> Date: Thu, 4 Dec 2025 10:30:19 -0500 Subject: [PATCH] CHORE: FIx lint in diff2 (#3885) --- 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