Skip to content

Commit 64c3f58

Browse files
committed
overwrite config
1 parent 1687178 commit 64c3f58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/config/config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ func normalizeKeys(config *koanf.Koanf) {
201201

202202
data[lower] = config.Get(key)
203203
}
204+
205+
config.Delete("")
204206
config.Load(confmap.Provider(data, "."), nil)
205207
}
206208

0 commit comments

Comments
 (0)