mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
Get the BackendInfo to fill the apporpriate struct fields (#14660)
This commit is contained in:
parent
36dcfee2f7
commit
bdd816488d
@ -805,6 +805,7 @@ func (z *erasureServerPools) getDecommissionPoolSpaceInfo(idx int) (pi poolSpace
|
||||
return pi, errInvalidArgument
|
||||
}
|
||||
info, _ := z.serverPools[idx].StorageInfo(context.Background())
|
||||
info.Backend = z.BackendInfo()
|
||||
for _, disk := range info.Disks {
|
||||
if disk.Healing {
|
||||
return pi, decomError{
|
||||
|
Loading…
Reference in New Issue
Block a user