Init HTTP client and transport for azure sdk (#4871)

Fixes segfault
master
Krishna Srinivas 7 years ago committed by Dee Koder
parent 61e0b1454a
commit ff8e2b5b4f
  1. 2
      cmd/gateway-azure.go

@ -179,7 +179,7 @@ func newAzureLayer(host string) (GatewayLayer, error) {
if err != nil {
return &azureObjects{}, err
}
c.HTTPClient.Transport = newCustomHTTPTransport()
c.HTTPClient = &http.Client{Transport: newCustomHTTPTransport()}
return &azureObjects{
client: c.GetBlobService(),

Loading…
Cancel
Save