Skip to content

Commit f29554d

Browse files
committed
debugging tokenconfig loop
1 parent cf8efae commit f29554d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

internals/config/tokens.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,16 @@ func NormalizeTokens() {
3333
tmpConf := configutils.New()
3434
tmpConf.Load(config.Get("").(map[string]any), "")
3535

36+
log.Dev("TmpConf: ", tmpConf.Layer.All())
37+
log.Dev("Config: ", config.All())
38+
3639
Normalize(tmpConf, "overrides", &structure.SETTINGS{})
40+
41+
log.Dev("Normalized: ", tmpConf.Layer.All())
3742

3843
data = append(data, tmpConf.Layer.Get("").(map[string]any))
3944
}
4045

41-
log.Dev("Tokens: ", data)
42-
4346
// Merge token configs together into new temporary config
4447
tokenConf.Load(data, "tokenconfigs")
4548
}

0 commit comments

Comments
 (0)