mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 05:36:27 +08:00
linting
This commit is contained in:
parent
00f1bd8e85
commit
322a2ee67d
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue