Skip to content

Commit 2ceed84

Browse files
committed
fix: host alert host filter by busigroup
1 parent 8fbe257 commit 2ceed84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/alert_rule.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func GetHostsQuery(queries []HostQuery) []map[string]interface{} {
180180
m["target_busi_group.group_id in (?)"] = ids
181181
} else {
182182
m["target.ident not in (select target_ident "+
183-
"from target_busi_group where group_id = ?)"] = ids
183+
"from target_busi_group where group_id in (?))"] = ids
184184
}
185185
case "tags":
186186
lst := []string{}

0 commit comments

Comments
 (0)