Browse Source

Fix a bug where the config wasn't loaded properly

Gary Kramlich 3 years ago
parent
commit
6a87e389b6
1 changed files with 2 additions and 0 deletions
  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
 		return err
 	}
 	}
 
 
+	*cfg = Config(raw)
+
 	return cfg.validate()
 	return cfg.validate()
 }
 }