This commit is contained in:
Thomas Limoncelli 2025-12-03 13:58:30 -05:00
parent 00f1bd8e85
commit 322a2ee67d
No known key found for this signature in database

View file

@ -81,10 +81,9 @@ func parseExternalDNSTxtLabel(label string, customPrefix string) *externalDNSMan
if customPrefix != "" { if customPrefix != "" {
if strings.HasPrefix(strings.ToLower(workingLabel), strings.ToLower(customPrefix)) { if strings.HasPrefix(strings.ToLower(workingLabel), strings.ToLower(customPrefix)) {
workingLabel = workingLabel[len(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 // Standard prefixes used by external-dns