use ACCOUNTS as prefix instead of OCIS_ACCOUNTS

This commit is contained in:
A.Unger
2020-03-18 14:17:58 +01:00
parent d5b2dfc3ac
commit 5c91e7de68
+1 -1
View File
@@ -62,7 +62,7 @@ func ParseConfig(c *cli.Context, cfg *config.Config) error {
logger := NewLogger(cfg)
viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_"))
viper.SetEnvPrefix("OCIS_ACCOUNTS")
viper.SetEnvPrefix("ACCOUNTS")
viper.AutomaticEnv()
if c.IsSet("config-file") {