add missing available space from metrics (#10065)

master
Harshavardhana 4 years ago committed by GitHub
parent 7342b5355f
commit d3c81a6e93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      cmd/erasure.go

@ -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…
Cancel
Save