From f32e342519bdddb69f5b5dcda62011919b65595c Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Tue, 22 Oct 2024 21:08:23 +0200 Subject: [PATCH] fix: copy/paste error with AlertStatus enum usage (#2265) --- keep/providers/netdata_provider/netdata_provider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keep/providers/netdata_provider/netdata_provider.py b/keep/providers/netdata_provider/netdata_provider.py index 1def2c787..114ef40e8 100644 --- a/keep/providers/netdata_provider/netdata_provider.py +++ b/keep/providers/netdata_provider/netdata_provider.py @@ -72,10 +72,10 @@ def _format_alert( ), status=( NetdataProvider.STATUS_MAP.get( - event["status"]["text"], AlertStatus.INFO + event["status"]["text"], AlertStatus.FIRING ) if "status" in event - else AlertStatus.INFO + else AlertStatus.FIRING ), alert=event["alert"] if "alert" in event else None, url=(