Skip to content

Commit

Permalink
fix: cur event query prod
Browse files Browse the repository at this point in the history
  • Loading branch information
710leo committed Mar 24, 2023
1 parent bfec911 commit b96ff22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions center/router/router_alert_cur_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ func (rt *Router) alertCurEventsCard(c *gin.Context) {
rules := parseAggrRules(c)

prod := ginx.QueryStr(c, "prods", "")
if prod == "" {
prod = ginx.QueryStr(c, "rule_prods", "")
}
prods := []string{}
if prod != "" {
prods = strings.Split(prod, ",")
Expand Down

0 comments on commit b96ff22

Please sign in to comment.