From 6a87e389b68b3fd328a35e34656dd93ac47cad77 Mon Sep 17 00:00:00 2001 From: Gary Kramlich Date: Fri, 19 Nov 2021 17:09:02 -0600 Subject: [PATCH] Fix a bug where the config wasn't loaded properly --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) 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() }