Include tier name in MinIO/S3 target user-agent (#16630)

This commit is contained in:
Krishnan Parthasarathi
2023-02-15 22:09:46 -08:00
committed by GitHub
parent d136ac0596
commit a1dd08f2e6
5 changed files with 11 additions and 10 deletions

View File

@@ -108,7 +108,7 @@ func (az *warmBackendAzure) InUse(ctx context.Context) (bool, error) {
return false, nil
}
func newWarmBackendAzure(conf madmin.TierAzure) (*warmBackendAzure, error) {
func newWarmBackendAzure(conf madmin.TierAzure, _ string) (*warmBackendAzure, error) {
credential, err := azblob.NewSharedKeyCredential(conf.AccountName, conf.AccountKey)
if err != nil {
if _, ok := err.(base64.CorruptInputError); ok {