use ACCOUNTS as prefix instead of OCIS_ACCOUNTS
This commit is contained in:
+1
-1
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user