Skip to content

Commit

Permalink
67777
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Nov 1, 2024
1 parent 700262a commit 5a047d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (c *MachineResourceGetterInputParam) queryBs(db *gorm.DB) (err error) {
db.Where(" sub_zone_id in (?) ", c.SubZoneIds)
}
if len(c.Labels) > 0 {
db.Where(model.JSONQuery("labels").JointOrContains(c.Labels))
db.Where(model.JSONQuery("label").JointOrContains(c.Labels))
}
if cmutil.IsNotEmpty(c.OsType) {
db.Where("os_type = ?", c.OsType)
Expand Down

0 comments on commit 5a047d6

Please sign in to comment.