Skip to content

Commit

Permalink
修复优化建议资源列表cloudenv过滤失效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoxiangchun committed May 27, 2020
1 parent 6c87cd3 commit 00fb77e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/monitor/models/suggestsysalart.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ func (manager *SSuggestSysAlertManager) ListItemFilter(
if len(query.Cloudaccount) > 0 {
q.Equals("cloudaccount", query.Cloudaccount)
}
if len(query.CloudEnv) > 0 {
q = q.Equals("cloud_env", query.CloudEnv)
}
return q, nil
}

Expand Down

0 comments on commit 00fb77e

Please sign in to comment.