Skip to content

Commit 5768c9b

Browse files
committed
chore: setting custom appInfo in minio sdk
1 parent 6ee3ddb commit 5768c9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

objectstorage/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ func New(core *client.CoreClient, accessKey string, secretKey string, opts ...Cl
9494
if err != nil {
9595
return nil, err
9696
}
97+
minioClient.SetAppInfo("wrapper", core.GetConfig().UserAgent)
9798

9899
osClient.minioClient = minioClient
99100
}

0 commit comments

Comments
 (0)