From dc2743dd4a73c124509754d118e795d16ae94ccb Mon Sep 17 00:00:00 2001 From: Craig Peterson Date: Wed, 3 May 2017 09:56:08 -0600 Subject: [PATCH] fix nil error msg --- normalize/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/normalize/validate.go b/normalize/validate.go index e6c675dcf..2bec1ea9f 100644 --- a/normalize/validate.go +++ b/normalize/validate.go @@ -277,7 +277,7 @@ func NormalizeAndValidateConfig(config *models.DNSConfig) (errs []error) { for _, d := range config.Domains { err := checkALIASes(d, config.DNSProviders) if err != nil { - errs = append(errs, nil) + errs = append(errs, err) } }