Merge pull request #8948 from jfpucheu/PATCH_8735

Correct Proxy setting for openstack provider: issue 8735
This commit is contained in:
Joe Topjian 2016-09-27 09:21:33 -04:00 committed by GitHub
commit 1e85d21dc4
1 changed files with 1 additions and 1 deletions

View File

@ -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)