We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a87de16 commit 95f88cbCopy full SHA for 95f88cb
src/gort/overwatcher/alerts.py
@@ -295,10 +295,10 @@ async def update_status(self) -> AlertsSummary:
295
alerts_data = await get_lvmapi_route("/alerts/summary", timeout=10)
296
except TimeoutException:
297
self.log.warning("Timeout retrieving /alerts/summary from LVM API")
298
- self.state = None
299
- else:
300
- summary = AlertsSummary(**alerts_data)
301
- self.state = summary
+ alerts_data = {}
+
+ summary = AlertsSummary(**alerts_data)
+ self.state = summary
302
303
# For connectivity we want to avoid one single failure to trigger an alert
304
# which closes the dome. The connectivity status is a set of triggers that
0 commit comments