mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
re-implement StorageInfo to be a peer call (#16155)
This commit is contained in:
@@ -105,8 +105,7 @@ func getBackgroundHealStatus(ctx context.Context, o ObjectLayer) (madmin.BgHealS
|
||||
return status, true
|
||||
}
|
||||
|
||||
// ignores any errors here.
|
||||
si, _ := o.StorageInfo(ctx)
|
||||
si := o.StorageInfo(ctx)
|
||||
|
||||
indexed := make(map[string][]madmin.Disk)
|
||||
for _, disk := range si.Disks {
|
||||
|
||||
Reference in New Issue
Block a user