mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #3283 from yousong/bugfix/yousong-manager_id-nullempty
lbagent: fix listing filter on manager_id
This commit is contained in:
@@ -105,7 +105,7 @@ func GetModels(opts *GetModelsOptions) error {
|
||||
Details: options.Bool(true),
|
||||
Filter: []string{
|
||||
minUpdatedAtFilter(minUpdatedAt), // order matters, filter.0
|
||||
"manager_id.isnull()", // len(manager_id) > 0 is for pubcloud objects
|
||||
"manager_id.isnullorempty()", // len(manager_id) > 0 is for pubcloud objects
|
||||
},
|
||||
OrderBy: []string{"updated_at", "id"},
|
||||
Order: "asc",
|
||||
|
||||
Reference in New Issue
Block a user