mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-15 03:48:11 +08:00
fix nil error msg
This commit is contained in:
parent
0f4f7d813e
commit
dc2743dd4a
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ func NormalizeAndValidateConfig(config *models.DNSConfig) (errs []error) {
|
||||||
for _, d := range config.Domains {
|
for _, d := range config.Domains {
|
||||||
err := checkALIASes(d, config.DNSProviders)
|
err := checkALIASes(d, config.DNSProviders)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errs = append(errs, nil)
|
errs = append(errs, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue