fix: typo in parsing non remote env variables (#10223)

This commit is contained in:
Anis Elleuch 2020-08-07 17:57:20 +01:00 committed by GitHub
parent 9138b2b503
commit 433c2831ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
pkg/env/web_env.go vendored
View File

@ -152,7 +152,7 @@ func LookupEnv(key string) (string, bool) {
if ok {
u, err := url.Parse(v)
if err != nil {
return "", false
return v, true
}
if !isValidEnvScheme(u.Scheme) {
return v, true