Fix a bug where the config wasn't loaded properly
This commit is contained in:
@@ -36,6 +36,8 @@ func (cfg *Config) UnmarshalYAML(unmarshal func(interface{}) error) error {
|
||||
return err
|
||||
}
|
||||
|
||||
*cfg = Config(raw)
|
||||
|
||||
return cfg.validate()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user