mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
linting (#693)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
@@ -137,7 +137,7 @@ func GetCerts(args GetCertsArgs) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
errs := normalize.NormalizeAndValidateConfig(cfg)
|
||||
errs := normalize.ValidateAndNormalizeConfig(cfg)
|
||||
if PrintValidationErrors(errs) {
|
||||
return fmt.Errorf("Exiting due to validation errors")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user