Skip to content

Commit

Permalink
fix: minor fix in gcp monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl committed Nov 18, 2024
1 parent f3f38ff commit 33bce46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _format_alert(
url = incident.pop("url", "")
documentation = incident.pop("documentation", {})
if isinstance(documentation, dict):
name = documentation.get("subject")
name = documentation.get("subject", description)
else:
name = "Test notification"
incident_id = incident.get("incident_id", "")
Expand Down

0 comments on commit 33bce46

Please sign in to comment.