Skip to content

Commit 7dc81bb

Browse files
authored
CHORE: FIx lint in diff2 (#3885)
1 parent c11a523 commit 7dc81bb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/diff2/externaldns.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,9 @@ func parseExternalDNSTxtLabel(label string, customPrefix string) *externalDNSMan
8181
if customPrefix != "" {
8282
if strings.HasPrefix(strings.ToLower(workingLabel), strings.ToLower(customPrefix)) {
8383
workingLabel = workingLabel[len(customPrefix):]
84-
} else {
85-
// Custom prefix specified but not found - this might be a legacy record
86-
// Continue with original label
8784
}
85+
// else: Custom prefix specified but not found - this might be a legacy record
86+
// Continue with original label
8887
}
8988

9089
// Standard prefixes used by external-dns

0 commit comments

Comments
 (0)