mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03:00
add user-agent for all minio.Client usage (#16619)
This commit is contained in:
@@ -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