1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
Tom Limoncelli
2020-03-10 16:53:17 -04:00
committed by GitHub
parent 24484f1e0c
commit 14e48b9b07
14 changed files with 30 additions and 21 deletions

View File

@ -70,7 +70,7 @@ func PrintIR(args PrintIRArgs) error {
return err
}
if !args.Raw {
errs := normalize.NormalizeAndValidateConfig(cfg)
errs := normalize.ValidateAndNormalizeConfig(cfg)
if PrintValidationErrors(errs) {
return fmt.Errorf("Exiting due to validation errors")
}