mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
add user-agent for all minio.Client usage (#16619)
This commit is contained in:
@@ -53,10 +53,9 @@ func newWarmBackendMinIO(conf madmin.TierMinIO) (*warmBackendMinIO, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
core, err := minio.NewCore(u.Host, opts)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
client.SetAppInfo("minio-tier-target", ReleaseTag)
|
||||
|
||||
core := &minio.Core{Client: client}
|
||||
return &warmBackendMinIO{
|
||||
warmBackendS3{
|
||||
client: client,
|
||||
|
||||
Reference in New Issue
Block a user