mirror of
https://github.com/pgsty/minio.git
synced 2026-11-05 15:22:01 +03:00
add missing available space from metrics (#10065)
This commit is contained in:
@@ -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),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user