Skip to content

Commit

Permalink
fix: host alert host filter by busigroup
Browse files Browse the repository at this point in the history
  • Loading branch information
710leo committed Sep 25, 2024
1 parent 8fbe257 commit 2ceed84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/alert_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func GetHostsQuery(queries []HostQuery) []map[string]interface{} {
m["target_busi_group.group_id in (?)"] = ids
} else {
m["target.ident not in (select target_ident "+
"from target_busi_group where group_id = ?)"] = ids
"from target_busi_group where group_id in (?))"] = ids
}
case "tags":
lst := []string{}
Expand Down

0 comments on commit 2ceed84

Please sign in to comment.