mirror of
https://github.com/minio/minio.git
synced 2026-02-05 02:10:14 -05:00
handle proper offline disk borrowed from #9928
This commit is contained in:
@@ -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]++
|
||||
|
||||
Reference in New Issue
Block a user