fix: Timestamp not added in diagnostics report (#16114)

This commit is contained in:
Shireesh Anjal
2022-11-23 20:41:22 +05:30
committed by GitHub
parent f96fe9773c
commit 59f877fc64
2 changed files with 4 additions and 2 deletions

View File

@@ -2253,7 +2253,8 @@ func (a adminAPIHandlers) HealthInfoHandler(w http.ResponseWriter, r *http.Reque
enc := json.NewEncoder(w)
healthInfo := madmin.HealthInfo{
Version: madmin.HealthInfoVersion,
TimeStamp: time.Now().UTC(),
Version: madmin.HealthInfoVersion,
Minio: madmin.MinioHealthInfo{
Info: madmin.MinioInfo{
DeploymentID: globalDeploymentID,