diff --git a/v2/config.go b/v2/config.go index 5205e84..e504113 100644 --- a/v2/config.go +++ b/v2/config.go @@ -5,8 +5,8 @@ import ( "golang.org/x/exp/maps" ) -// censorValue is the value for censoring sensitive blueprint configuration data. -const censorValue = "*****" +// CensorValue is the value for censoring sensitive blueprint configuration data. +const CensorValue = "*****" type Config struct { Dogus map[cescommons.SimpleName]CombinedDoguConfig @@ -82,7 +82,7 @@ func (config Config) GetDogusWithChangedSensitiveConfig() []cescommons.SimpleNam func (config Config) censorValues() Config { for _, doguConfig := range config.Dogus { for k := range doguConfig.SensitiveConfig.Present { - doguConfig.SensitiveConfig.Present[k] = censorValue + doguConfig.SensitiveConfig.Present[k] = CensorValue } } return config