mirror of
https://github.com/minio/minio.git
synced 2025-03-31 17:53:43 -04:00
add missing available space from metrics (#10065)
This commit is contained in:
parent
7342b5355f
commit
d3c81a6e93
@ -146,6 +146,7 @@ func getDisksInfo(disks []StorageAPI, endpoints []string) (disksInfo []madmin.Di
|
|||||||
DrivePath: info.MountPath,
|
DrivePath: info.MountPath,
|
||||||
TotalSpace: info.Total,
|
TotalSpace: info.Total,
|
||||||
UsedSpace: info.Used,
|
UsedSpace: info.Used,
|
||||||
|
AvailableSpace: info.Free,
|
||||||
UUID: info.ID,
|
UUID: info.ID,
|
||||||
State: diskErrToDriveState(err),
|
State: diskErrToDriveState(err),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user