diff --git a/cmd/erasure.go b/cmd/erasure.go index acd6cbfd0..26cee44a5 100644 --- a/cmd/erasure.go +++ b/cmd/erasure.go @@ -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