From b889816ff31a7205c533751bd9cb6aafd7819e40 Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Thu, 1 Sep 2022 18:03:41 +0100 Subject: [PATCH] feat(alerts): CH change --- ee/api/chalicelib/core/alerts_processor_exp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/api/chalicelib/core/alerts_processor_exp.py b/ee/api/chalicelib/core/alerts_processor_exp.py index 66448b1d9..7a300654c 100644 --- a/ee/api/chalicelib/core/alerts_processor_exp.py +++ b/ee/api/chalicelib/core/alerts_processor_exp.py @@ -197,7 +197,7 @@ def process(): for alert in all_alerts: if alert["query"]["left"] != "CUSTOM": continue - if True or alerts_processor.can_check(alert): + if alerts_processor.can_check(alert): logging.info(f"Querying alertId:{alert['alertId']} name: {alert['name']}") query, params = Build(alert) query = ch_cur.format(query, params)