mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
fix: typo in parsing non remote env variables (#10223)
This commit is contained in:
parent
9138b2b503
commit
433c2831ae
2
pkg/env/web_env.go
vendored
2
pkg/env/web_env.go
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user