fix nil error msg

This commit is contained in:
Craig Peterson 2017-05-03 09:56:08 -06:00
parent 0f4f7d813e
commit dc2743dd4a

View file

@ -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)
}
}