The value expand fallback to actual ENV values

This commit is contained in:
egorse 2018-03-31 23:18:36 +03:00
parent 6bb0851667
commit 8ad714e304

View File

@ -296,6 +296,9 @@ func parseValue(value string, envMap map[string]string) string {
if val, ok := envMap[key]; ok { if val, ok := envMap[key]; ok {
return val return val
} }
if val, ok := os.LookupEnv(key); ok {
return val
}
return "" return ""
}) })
return value return value