Proxy values should not be made uppercase

This commit is contained in:
Don 2016-11-03 11:57:19 -07:00 committed by GitHub
parent fd620bd5e8
commit d6fa9f5177

View file

@ -32,15 +32,15 @@ func Environ(c *yaml.Config, envs map[string]string) error {
}
if httpProxy != "" {
p.Environment["HTTP_PROXY"] = httpProxy
p.Environment["http_proxy"] = strings.ToUpper(httpProxy)
p.Environment["http_proxy"] = httpProxy
}
if httpsProxy != "" {
p.Environment["HTTPS_PROXY"] = httpsProxy
p.Environment["https_proxy"] = strings.ToUpper(httpsProxy)
p.Environment["https_proxy"] = httpsProxy
}
if noProxy != "" {
p.Environment["NO_PROXY"] = noProxy
p.Environment["no_proxy"] = strings.ToUpper(noProxy)
p.Environment["no_proxy"] = noProxy
}
}
return nil