mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-14 19:37:43 +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 {
|
||||
err := checkALIASes(d, config.DNSProviders)
|
||||
if err != nil {
|
||||
errs = append(errs, nil)
|
||||
errs = append(errs, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue