mirror of
https://github.com/kairos-io/provider-rke2.git
synced 2025-09-20 01:20:26 +00:00
HTTP_PROXY to HTTPS_PROXY
Signed-off-by: Santhosh <santhosh@spectrocloud.com>
This commit is contained in:
2
main.go
2
main.go
@@ -118,7 +118,7 @@ func proxyEnv(userOptions []byte, proxyMap map[string]string) string {
|
|||||||
var proxy []string
|
var proxy []string
|
||||||
|
|
||||||
httpProxy := proxyMap["HTTP_PROXY"]
|
httpProxy := proxyMap["HTTP_PROXY"]
|
||||||
httpsProxy := proxyMap["HTTP_PROXY"]
|
httpsProxy := proxyMap["HTTPS_PROXY"]
|
||||||
noProxy := getNoProxy(userOptions, proxyMap["NO_PROXY"])
|
noProxy := getNoProxy(userOptions, proxyMap["NO_PROXY"])
|
||||||
|
|
||||||
if len(httpProxy) > 0 {
|
if len(httpProxy) > 0 {
|
||||||
|
Reference in New Issue
Block a user