diff --git a/pkg/cc/config/config.go b/pkg/cc/config/config.go index 67effa8..77e9e73 100644 --- a/pkg/cc/config/config.go +++ b/pkg/cc/config/config.go @@ -60,7 +60,7 @@ func NewConfig(configPath Path, log *zerolog.Logger, overrides Overrider) (*Conf } v.SetEnvPrefix("POLICY") - v.SetEnvKeyReplacer(strings.NewReplacer("-", "_")) + v.SetEnvKeyReplacer(strings.NewReplacer(".", "_")) // Set defaults. home, err := os.UserHomeDir()