* Settings: Fix handling
(cherry picked from commit 690ffdff56)
Co-authored-by: Joan López de la Franca Beltran <5459617+joanlopez@users.noreply.github.com>
This commit is contained in:
co-authored by
Joan López de la Franca Beltran
parent
0964999300
commit
288621b68a
@@ -108,7 +108,7 @@ func (o OSSImpl) Current() SettingsBag {
|
||||
for _, section := range o.Cfg.Raw.Sections() {
|
||||
settingsCopy[section.Name()] = make(map[string]string)
|
||||
for _, key := range section.Keys() {
|
||||
settingsCopy[section.Name()][key.Name()] = RedactedValue(key.Name(), key.Value())
|
||||
settingsCopy[section.Name()][key.Name()] = RedactedValue(EnvKey(section.Name(), key.Name()), key.Value())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user