From 96a5c2f17022f5f2d14fe548806ef9d9958b6b78 Mon Sep 17 00:00:00 2001 From: Tal Borenstein Date: Tue, 12 Nov 2024 16:35:05 +0200 Subject: [PATCH] fix(pd): another typo in PagerDuty --- keep/providers/pagerduty_provider/pagerduty_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keep/providers/pagerduty_provider/pagerduty_provider.py b/keep/providers/pagerduty_provider/pagerduty_provider.py index 2912388a2..f31f0c75a 100644 --- a/keep/providers/pagerduty_provider/pagerduty_provider.py +++ b/keep/providers/pagerduty_provider/pagerduty_provider.py @@ -507,7 +507,7 @@ def _format_alert( # If somebody connected the provider before we refactored it old_format_event = event.get("event", {}) if old_format_event is not None and isinstance(old_format_event, dict): - return PagerdutyProvider._format_alert_old(old_format_event) + return PagerdutyProvider._format_alert_old(event) status = PagerdutyProvider.ALERT_STATUS_MAP.get(event.get("status", "firing")) severity = PagerdutyProvider.ALERT_SEVERITIES_MAP.get(