mirror of
https://github.com/minio/minio.git
synced 2026-11-18 23:00:19 +00:00
add user-agent for all minio.Client usage (#16619)
This commit is contained in:
1 parent
857674c3a0
commit
0c1f8b4e0f
6 files changed
+31
-18
No files matched your search
@@ -753,6 +753,9 @@ func serverMain(ctx *cli.Context) {
|
||||
})
|
||||
logger.FatalIf(err, "Unable to initialize MinIO client")
|
||||
|
||||
// Add User-Agent to differentiate the requests.
|
||||
globalMinioClient.SetAppInfo("minio-perf-test", ReleaseTag)
|
||||
|
||||
if serverDebugLog {
|
||||
logger.Info("== DEBUG Mode enabled ==")
|
||||
logger.Info("Currently set environment settings:")
|
||||
|
||||
Reference in new issue
Block a user