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

master
Anis Elleuch 4 years ago committed by GitHub
parent 9138b2b503
commit 433c2831ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/env/web_env.go

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

Loading…
Cancel
Save