mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
MAINT: Linting (#1380)
* MAINT: Linting * Unsort for a smaller diff * fix hexonet error checking
This commit is contained in:
@@ -51,7 +51,7 @@ func (c *cscglobalProvider) GetRegistrarCorrections(dc *models.DomainConfig) ([]
|
||||
if ns.Name[len(ns.Name)-1] == '.' {
|
||||
// When this code was written ns.Name never included a single trailing dot.
|
||||
// If that changes, the code should change too.
|
||||
return nil, fmt.Errorf("Name server includes a trailing dot, has the API changed?")
|
||||
return nil, fmt.Errorf("name server includes a trailing dot, has the API changed?")
|
||||
}
|
||||
expected = append(expected, ns.Name)
|
||||
}
|
||||
|
Reference in New Issue
Block a user