Skip to content

Commit ef08691

Browse files
Merge pull request #833 from MaysaMacedo/support-proxy
OCPBUGS-6175: OpenStack: Add support for Proxy
2 parents 830c1b2 + 2be6641 commit ef08691

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/storage/swift/swift.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ func (d *driver) getSwiftClient() (*gophercloud.ServiceClient, error) {
248248
certPool.AppendCertsFromPEM([]byte(cert))
249249
client := http.Client{
250250
Transport: &http.Transport{
251+
Proxy: http.ProxyFromEnvironment,
251252
TLSClientConfig: &tls.Config{
252253
RootCAs: certPool,
253254
},

0 commit comments

Comments
 (0)