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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,

View File

@ -127,7 +127,8 @@ func performCallhome(ctx context.Context) {
}
healthInfo := madmin.HealthInfo{
Version: madmin.HealthInfoVersion,
TimeStamp: time.Now().UTC(),
Version: madmin.HealthInfoVersion,
Minio: madmin.MinioHealthInfo{
Info: madmin.MinioInfo{
DeploymentID: globalDeploymentID,