mirror of
https://github.com/minio/minio.git
synced 2025-01-12 15:33:22 -05:00
use the correct endpoints for offline drives
This commit is contained in:
parent
79e21601b0
commit
b32d0a5b60
@ -167,7 +167,7 @@ func getDisksInfo(disks []StorageAPI, endpoints []string) (disksInfo []madmin.Di
|
||||
errs = g.Wait()
|
||||
// Wait for the routines.
|
||||
for i, diskInfoErr := range errs {
|
||||
ep := endpoints[i]
|
||||
ep := disksInfo[i].Endpoint
|
||||
if diskInfoErr != nil {
|
||||
offlineDisks[ep]++
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user