handle proper offline disk borrowed from #9928

This commit is contained in:
Harshavardhana
2020-06-29 09:36:17 -07:00
parent 8c5f0597c0
commit dcf1be1256

View File

@@ -133,9 +133,6 @@ func getDisksInfo(disks []StorageAPI, endpoints []string) (disksInfo []DiskInfo,
errs = g.Wait()
// Wait for the routines.
for i, diskInfoErr := range errs {
if disks[i] == OfflineDisk {
continue
}
ep := endpoints[i]
if diskInfoErr != nil {
offlineDisks[ep]++