mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Add User-Agent header with MinIO release details in http logs (#7843)
This would allow http log target server to distinguish between log messages across different versions of MinIO deployments.
This commit is contained in:
committed by
Harshavardhana
parent
1cd801b2e9
commit
bbb56739bd
@@ -237,13 +237,7 @@ func serverMain(ctx *cli.Context) {
|
||||
|
||||
if !globalCLIContext.Quiet {
|
||||
// Check for new updates from dl.min.io.
|
||||
mode := globalMinioModeFS
|
||||
if globalIsDistXL {
|
||||
mode = globalMinioModeDistXL
|
||||
} else if globalIsXL {
|
||||
mode = globalMinioModeXL
|
||||
}
|
||||
checkUpdate(mode)
|
||||
checkUpdate(getMinioMode())
|
||||
}
|
||||
|
||||
// FIXME: This code should be removed in future releases and we should have mandatory
|
||||
|
||||
Reference in New Issue
Block a user