Skip to content

Commit

Permalink
Merge branch 'main' into Feat/runbook
Browse files Browse the repository at this point in the history
  • Loading branch information
talboren authored Oct 22, 2024
2 parents 92aa4b8 + f32e342 commit c9cef6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keep/providers/netdata_provider/netdata_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down

0 comments on commit c9cef6c

Please sign in to comment.