Skip to content

Commit c1bb740

Browse files
Merge pull request #196 from iamemilio/proxy_bug
Bug 1986540: Adds Proxy to provider client http transport
2 parents 065b0b4 + c6a8075 commit c1bb740

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cloud/openstack/clients/utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ func GetProviderClient(cloud clientconfig.Cloud, cert []byte) (*gophercloud.Prov
9292
TLSClientConfig: &tls.Config{
9393
RootCAs: certPool,
9494
},
95+
Proxy: http.ProxyFromEnvironment,
9596
},
9697
}
9798
provider.HTTPClient = client

0 commit comments

Comments
 (0)