Correct Proxy setting for openstack provider: issue 8735
This commit is contained in:
parent
c6583cf0c9
commit
c084b7d522
|
@ -83,7 +83,7 @@ func (c *Config) loadAndValidate() error {
|
||||||
config.Certificates = []tls.Certificate{cert}
|
config.Certificates = []tls.Certificate{cert}
|
||||||
config.BuildNameToCertificate()
|
config.BuildNameToCertificate()
|
||||||
}
|
}
|
||||||
transport := &http.Transport{TLSClientConfig: config}
|
transport := &http.Transport{Proxy: http.ProxyFromEnvironment, TLSClientConfig: config}
|
||||||
client.HTTPClient.Transport = transport
|
client.HTTPClient.Transport = transport
|
||||||
|
|
||||||
err = openstack.Authenticate(client, ao)
|
err = openstack.Authenticate(client, ao)
|
||||||
|
|
Loading…
Reference in New Issue