mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-12-26 17:50:55 +08:00
Clarify error message.
This commit is contained in:
parent
f929eadbf9
commit
79a9de256e
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ func CreateRegistrars(d *models.DNSConfig, providerConfigs map[string]map[string
|
|||
for _, reg := range d.Registrars {
|
||||
rawMsg, ok := providerConfigs[reg.Name]
|
||||
if !ok && reg.Type != "NONE" {
|
||||
return nil, fmt.Errorf("Registrar %s not listed in -providers file.", reg.Name)
|
||||
return nil, fmt.Errorf("Registrar %s not listed in creds.json file.", reg.Name)
|
||||
}
|
||||
registrar, err := createRegistrar(reg.Type, rawMsg)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue