git.psu.edu will be upgraded to critical security release 13.7.4 Monday, 11/18 between 9 and 10pm. Please email support@git.psu.edu if you have trouble with anything Gitlab-related. Please see the git.psu.edu Yammer group for more information.

Commit b427016c authored by Andy Cobaugh's avatar Andy Cobaugh

set env var prefix to "devtool"

parent 21c73434
Pipeline #111759 waiting for manual action with stages
in 49 seconds
......@@ -88,6 +88,7 @@ func initConfig() {
viper.AutomaticEnv() // read in environment variables that match
replacer := strings.NewReplacer(".", "_")
viper.SetEnvKeyReplacer(replacer)
viper.SetEnvPrefix("devtool")
// If a config file is found, read it in.
err := viper.ReadInConfig()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment