From 33bce46ab161448773745ac134cfc67ac8877add Mon Sep 17 00:00:00 2001 From: shahargl Date: Mon, 18 Nov 2024 11:38:42 +0200 Subject: [PATCH] fix: minor fix in gcp monitoring --- keep/providers/gcpmonitoring_provider/gcpmonitoring_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keep/providers/gcpmonitoring_provider/gcpmonitoring_provider.py b/keep/providers/gcpmonitoring_provider/gcpmonitoring_provider.py index dce283442..55845f0e6 100644 --- a/keep/providers/gcpmonitoring_provider/gcpmonitoring_provider.py +++ b/keep/providers/gcpmonitoring_provider/gcpmonitoring_provider.py @@ -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", "")