Explorar o código

Fix a bug where the config wasn't loaded properly

Gary Kramlich %!s(int64=3) %!d(string=hai) anos
pai
achega
6a87e389b6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      config/config.go

+ 2 - 0
config/config.go

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