mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Send deployment id and minio version in http header (#14378)
This commit is contained in:
@@ -144,6 +144,8 @@ func (h *Target) logEntry(entry interface{}) {
|
||||
return
|
||||
}
|
||||
req.Header.Set(xhttp.ContentType, "application/json")
|
||||
req.Header.Set(xhttp.MinIOVersion, xhttp.GlobalMinIOVersion)
|
||||
req.Header.Set(xhttp.MinioDeploymentID, xhttp.GlobalDeploymentID)
|
||||
|
||||
// Set user-agent to indicate MinIO release
|
||||
// version to the configured log endpoint
|
||||
|
||||
Reference in New Issue
Block a user