diff --git a/config/config.go b/config/config.go index de8bb47..403aa23 100644 --- a/config/config.go +++ b/config/config.go @@ -36,6 +36,8 @@ func (cfg *Config) UnmarshalYAML(unmarshal func(interface{}) error) error { return err } + *cfg = Config(raw) + return cfg.validate() }