Correct Proxy setting for openstack provider: issue 8735

This commit is contained in:
Jean-François Pucheu 2016-09-20 20:53:56 +02:00
parent c6583cf0c9
commit c084b7d522
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)