diff --git a/cmd/admin-handlers.go b/cmd/admin-handlers.go index 2abe2a6c0..4d8778809 100644 --- a/cmd/admin-handlers.go +++ b/cmd/admin-handlers.go @@ -1663,7 +1663,14 @@ func (a adminAPIHandlers) HealthInfoHandler(w http.ResponseWriter, r *http.Reque } query := r.Form - healthInfo := madmin.HealthInfo{Version: madmin.HealthInfoVersion} + healthInfo := madmin.HealthInfo{ + Version: madmin.HealthInfoVersion, + Minio: madmin.MinioHealthInfo{ + Info: madmin.MinioInfo{ + DeploymentID: globalDeploymentID, + }, + }, + } healthInfoCh := make(chan madmin.HealthInfo) enc := json.NewEncoder(w) @@ -1999,7 +2006,7 @@ func (a adminAPIHandlers) HealthInfoHandler(w http.ResponseWriter, r *http.Reque go func() { defer close(healthInfoCh) - partialWrite(healthInfo) // Write first message with only version populated + partialWrite(healthInfo) // Write first message with only version and deployment id populated getAndWriteCPUs() getAndWritePartitions() getAndWriteOSInfo()