The value expand fallback to actual ENV values

pull/54/head
egorse 2018-03-31 23:18:36 +03:00
parent 6bb0851667
commit 8ad714e304
1 changed files with 3 additions and 0 deletions

View File

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