mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-30 18:23:35 +08:00
fix(monitor): comparator string (#24204)
This commit is contained in:
@@ -916,11 +916,11 @@ func getCommonAlertMetricDetailsFromCondition(
|
||||
cmp := ""
|
||||
switch cond.Evaluator.Type {
|
||||
case "gt":
|
||||
cmp = ">="
|
||||
cmp = ">"
|
||||
case "eq":
|
||||
cmp = "=="
|
||||
case "lt":
|
||||
cmp = "<="
|
||||
cmp = "<"
|
||||
case "within_range":
|
||||
cmp = "within_range"
|
||||
case "outside_range":
|
||||
|
||||
Reference in New Issue
Block a user