Add storageClass as part of tenant info api response (#196)

This commit is contained in:
Cesar N
2020-07-17 09:49:44 -07:00
committed by GitHub
parent 76f7c540c1
commit 28ac29c178
6 changed files with 98 additions and 6 deletions

View File

@@ -46,10 +46,10 @@ func NewAdminClient(url, accessKey, secretKey string) (*madmin.AdminClient, *pro
AppComments: []string{appName, runtime.GOOS, runtime.GOARCH},
Insecure: false,
})
s3Client.SetCustomTransport(STSClient.Transport)
if err != nil {
return nil, err.Trace(url)
}
s3Client.SetCustomTransport(STSClient.Transport)
return s3Client, nil
}