mirror of
https://github.com/minio/minio.git
synced 2025-03-03 15:20:08 -05:00
Add user-agent for azure blob requests (#6002)
This commit is contained in:
parent
c22b9d5d4d
commit
69b9d6fbee
@ -160,6 +160,7 @@ func (g *Azure) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, erro
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return &azureObjects{}, err
|
return &azureObjects{}, err
|
||||||
}
|
}
|
||||||
|
c.AddToUserAgent(fmt.Sprintf("APN/1.0 Minio/1.0 Minio/%s", minio.Version))
|
||||||
c.HTTPClient = &http.Client{Transport: minio.NewCustomHTTPTransport()}
|
c.HTTPClient = &http.Client{Transport: minio.NewCustomHTTPTransport()}
|
||||||
|
|
||||||
return &azureObjects{
|
return &azureObjects{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user