mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 10:21:00 +00:00
Proxy values should not be made uppercase
This commit is contained in:
parent
fd620bd5e8
commit
d6fa9f5177
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue