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
+1 -1
View File
@@ -101,7 +101,7 @@ func (gcs *warmBackendGCS) InUse(ctx context.Context) (bool, error) {
return false, nil
}
func newWarmBackendGCS(conf madmin.TierGCS) (*warmBackendGCS, error) {
func newWarmBackendGCS(conf madmin.TierGCS, _ string) (*warmBackendGCS, error) {
credsJSON, err := conf.GetCredentialJSON()
if err != nil {
return nil, err