From 4575291f8aaabd697337ff3d9e8a58c96896bbf2 Mon Sep 17 00:00:00 2001 From: Shireesh Anjal <355479+anjalshireesh@users.noreply.github.com> Date: Wed, 30 Jun 2021 20:12:38 +0530 Subject: [PATCH] fix: drive state not added in health report (#12603) In case of FS mode, the drive state was not being added in the health report. Fixed by hard coding it to "ok". --- cmd/fs-v1.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/fs-v1.go b/cmd/fs-v1.go index 8a855469b..b0c82ca1d 100644 --- a/cmd/fs-v1.go +++ b/cmd/fs-v1.go @@ -226,6 +226,7 @@ func (fs *FSObjects) StorageInfo(ctx context.Context) (StorageInfo, []error) { storageInfo := StorageInfo{ Disks: []madmin.Disk{ { + State: madmin.DriveStateOk, TotalSpace: di.Total, UsedSpace: di.Used, AvailableSpace: di.Free,