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)