mirror of https://github.com/minio/minio.git
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