Clarify error message.

This commit is contained in:
Tom Limoncelli 2017-06-09 11:57:21 -04:00
parent f929eadbf9
commit 79a9de256e

View file

@ -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 {