From b3add5c9b890e42a5a4ecdb02b6f719809f67c1c Mon Sep 17 00:00:00 2001 From: Ildar Iskhakov Date: Mon, 13 Jun 2022 13:38:40 +0300 Subject: [PATCH] Fix typo in template --- engine/config_integrations/elastalert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/config_integrations/elastalert.py b/engine/config_integrations/elastalert.py index 3ede0fb4..90e9bfcc 100644 --- a/engine/config_integrations/elastalert.py +++ b/engine/config_integrations/elastalert.py @@ -56,7 +56,7 @@ resolve_condition = """\ {# The heartbeat alerts will go here so we check for our own key #} {{ payload["is_amixr_heartbeat_restored"] }} {%- else -%} -{{ payload.get("state", "").upper() == "OK" }}' +{{ payload.get("state", "").upper() == "OK" }} {%- endif %}""" acknowledge_condition = None