mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
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".
This commit is contained in:
parent
75ce633f0a
commit
4575291f8a
@ -226,6 +226,7 @@ func (fs *FSObjects) StorageInfo(ctx context.Context) (StorageInfo, []error) {
|
|||||||
storageInfo := StorageInfo{
|
storageInfo := StorageInfo{
|
||||||
Disks: []madmin.Disk{
|
Disks: []madmin.Disk{
|
||||||
{
|
{
|
||||||
|
State: madmin.DriveStateOk,
|
||||||
TotalSpace: di.Total,
|
TotalSpace: di.Total,
|
||||||
UsedSpace: di.Used,
|
UsedSpace: di.Used,
|
||||||
AvailableSpace: di.Free,
|
AvailableSpace: di.Free,
|
||||||
|
Loading…
Reference in New Issue
Block a user