From 0f4adeea86bebbe2b6bda36abd6ed5d33b05f674 Mon Sep 17 00:00:00 2001 From: plm Date: Wed, 8 Jan 2025 16:55:42 +0100 Subject: [PATCH] Same prefix for all builtin microservices in opencloud --- config/conf_loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/conf_loader.go b/config/conf_loader.go index 5494e3d..7c3bce1 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 := "OC_" defaultConfigFile := "/etc/oc/" + AppName[3:] + ".json" localConfigFile := "./" + AppName[3:] + ".json" var configFile string