Fix a bug where the config wasn't loaded properly

This commit is contained in:
Gary Kramlich
2021-11-19 17:09:02 -06:00
parent 2b63ddc6b8
commit 6a87e389b6

View File

@@ -36,6 +36,8 @@ func (cfg *Config) UnmarshalYAML(unmarshal func(interface{}) error) error {
return err
}
*cfg = Config(raw)
return cfg.validate()
}