diff --git a/config/conf_loader.go b/config/conf_loader.go index 8397953..9d1e1ee 100644 --- a/config/conf_loader.go +++ b/config/conf_loader.go @@ -26,7 +26,7 @@ import ( func GetConfLoader() *onion.Onion { logger := zerolog.New(os.Stdout).With().Timestamp().Logger() AppName := GetAppName() - EnvPrefix := strings.ToUpper(AppName[0:2]+AppName[3:]) + "_" + EnvPrefix := strings.ToUpper(AppName[0:2] + AppName[3:]) defaultConfigFile := "/etc/oc/" + AppName[3:] + ".json" localConfigFile := "./" + AppName[3:] + ".json" var configFile string