Skip to content

Commit

Permalink
fix: Use correct name when logging EDGEX_CONF_DIR override (#266)
Browse files Browse the repository at this point in the history
fixes #264

Signed-off-by: lenny <[email protected]>
  • Loading branch information
Lenny Goodell authored Aug 5, 2021
1 parent 3e2f67e commit 2a375e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/environment/variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func GetConfDir(lc logger.LoggingClient, configDir string) string {
envValue := os.Getenv(envConfDir)
if len(envValue) > 0 {
configDir = envValue
logEnvironmentOverride(lc, "-c/-confdir", envFile, envValue)
logEnvironmentOverride(lc, "-c/-confdir", envConfDir, envValue)
}

if len(configDir) == 0 {
Expand Down

0 comments on commit 2a375e7

Please sign in to comment.