code refactor

This commit is contained in:
Ulric Qin 2022-09-23 10:12:12 +08:00
parent 78b2e54910
commit 5b0e24cd40
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ func (r *RuleEval) MakeNewEvent(from string, now int64, clusterName string, vect
logger.Debugf("event_enable_in_bg: rule_eval:%d", r.rule.Id)
continue
}
} else {
} else if strings.Contains(r.rule.PromQl, "target_up") {
// target 已经不存在了,可能是被删除了
continue
}