mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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.BuildNameToCertificate()
|
||||
}
|
||||
transport := &http.Transport{TLSClientConfig: config}
|
||||
transport := &http.Transport{Proxy: http.ProxyFromEnvironment, TLSClientConfig: config}
|
||||
client.HTTPClient.Transport = transport
|
||||
|
||||
err = openstack.Authenticate(client, ao)
|
||||
|
Loading…
Reference in New Issue
Block a user