mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
update lisDescendent scope params
This commit is contained in:
@@ -1073,6 +1073,7 @@ func (h *SHostInfo) getNetworkInfo() {
|
||||
params := jsonutils.NewDict()
|
||||
params.Set("details", jsonutils.JSONTrue)
|
||||
params.Set("limit", jsonutils.NewInt(0))
|
||||
params.Set("scope", jsonutils.NewString("system"))
|
||||
res, err := modules.Hostwires.ListDescendent(
|
||||
h.GetSession(),
|
||||
h.HostId, params)
|
||||
@@ -1228,6 +1229,7 @@ func (h *SHostInfo) getStorageInfo() {
|
||||
params := jsonutils.NewDict()
|
||||
params.Set("details", jsonutils.JSONTrue)
|
||||
params.Set("limit", jsonutils.NewInt(0))
|
||||
params.Set("scope", jsonutils.NewString("system"))
|
||||
res, err := modules.Hoststorages.ListDescendent(
|
||||
h.GetSession(),
|
||||
h.HostId, params)
|
||||
|
||||
Reference in New Issue
Block a user