mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
Merge pull request #6797 from wanyaoqi/bugfix/wyq/fix-host-list-filter
fix host list servers filter
This commit is contained in:
@@ -140,7 +140,7 @@ func (m *SGuestManager) VerifyExistingGuests(pendingDelete bool) {
|
||||
keys[index] = k
|
||||
index++
|
||||
}
|
||||
params.Set("filter.1", jsonutils.NewString(fmt.Sprintf("id.in(%s)", strings.Join(keys, ","))))
|
||||
params.Set("filter.0", jsonutils.NewString(fmt.Sprintf("id.in(%s)", strings.Join(keys, ","))))
|
||||
}
|
||||
res, err := modules.Servers.List(hostutils.GetComputeSession(context.Background()), params)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user