fix go vet fail
This commit is contained in:
parent
db58854b0b
commit
4fc0616bc9
|
@ -126,9 +126,9 @@ func (c *AccessConfig) Prepare(ctx *interpolate.Context) []error {
|
|||
tls_config.Certificates = []tls.Certificate{cert}
|
||||
}
|
||||
|
||||
var transport http.Transport = *http.DefaultTransport.(*http.Transport)
|
||||
transport := http.DefaultTransport.(*http.Transport)
|
||||
transport.TLSClientConfig = tls_config
|
||||
client.HTTPClient.Transport = &transport
|
||||
client.HTTPClient.Transport = transport
|
||||
|
||||
// Auth
|
||||
err = openstack.Authenticate(client, ao)
|
||||
|
|
Loading…
Reference in New Issue