File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
keep/providers/grafana_provider Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -321,10 +321,9 @@ def _format_alert(
321
321
dashboard_url = alert .get ("dashboardURL" , None )
322
322
panel_url = alert .get ("panelURL" , None )
323
323
324
- # backward compatibility
325
- description = alert .get ("annotations" , {}).get ("summary" , "" )
326
- if not description :
327
- description = alert .get ("annotations" , {}).get ("description" )
324
+ description = alert .get ("annotations" , {}).get ("description" ) or alert .get (
325
+ "annotations" , {}
326
+ ).get ("summary" , "" )
328
327
329
328
valueString = alert .get ("valueString" )
330
329
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " keep"
3
- version = " 0.45.12 "
3
+ version = " 0.45.13 "
4
4
description = " Alerting. for developers, by developers."
5
5
authors = [" Keep Alerting LTD" ]
6
6
packages = [{include = " keep" }]
You can’t perform that action at this time.
0 commit comments