1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Lint: Fix ST1005: error strings should not be capitalized (#834)

This commit is contained in:
Tom Limoncelli
2020-08-30 19:52:37 -04:00
committed by GitHub
parent ca136992f8
commit de308c0952
37 changed files with 98 additions and 94 deletions

View File

@@ -99,7 +99,7 @@ func (c *OpenSRSApi) getNameservers(domainName string) ([]string, error) {
}
return dom.Attributes.NameserverList.ToString(), nil
}
return nil, errors.New("Domain is locked")
return nil, errors.New("domain is locked")
}
// Returns a function that can be invoked to change the delegation of the domain to the given name server names.