add user-agent for all minio.Client usage (#16619)

This commit is contained in:
Harshavardhana authored and GitHub committed 2023-02-14 13:19:30 -08:00
1 parent 857674c3a0
commit 0c1f8b4e0f
6 files changed
+31 -18

No files matched your search

+3 -4
View File
@@ -128,10 +128,9 @@ func newWarmBackendS3(conf madmin.TierS3) (*warmBackendS3, error) {
if err != nil {
return nil, err
}
core, err := minio.NewCore(u.Host, opts)
if err != nil {
return nil, err
}
client.SetAppInfo("s3-tier-target", ReleaseTag)
core := &minio.Core{Client: client}
return &warmBackendS3{
client: client,
core: core,