From e59e67381ec59c83c6e252ca51e6d340ec6c71d0 Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Sat, 20 Nov 2021 13:59:05 -0800 Subject: [PATCH] change /etc path --- app/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/root.go b/app/root.go index 1aec889..9fad180 100644 --- a/app/root.go +++ b/app/root.go @@ -32,7 +32,7 @@ func InitConfig(systemName string, initalLogLevel zapcore.Level) { sugar.Infof("app.InitConfig: 📥 %s", systemName) appViper.SetConfigType("yaml") appViper.SetConfigName(systemName) - appViper.AddConfigPath("/etc/kvision") + appViper.AddConfigPath("/etc/vernonkeenan") appViper.SetEnvKeyReplacer(strings.NewReplacer(".", "_")) appViper.SetEnvPrefix("kvision") appViper.AutomaticEnv() // read in environment variables that match