From 79a9de256eec173f5138ba74742168625fb06f39 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Fri, 9 Jun 2017 11:57:21 -0400 Subject: [PATCH] Clarify error message. --- providers/providers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/providers.go b/providers/providers.go index 6941422f4..dca1d4491 100644 --- a/providers/providers.go +++ b/providers/providers.go @@ -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 {