diff --git a/src/middlewared/middlewared/plugins/alert.py b/src/middlewared/middlewared/plugins/alert.py index 1f4232c5d2cd..b4d1cd4f5470 100644 --- a/src/middlewared/middlewared/plugins/alert.py +++ b/src/middlewared/middlewared/plugins/alert.py @@ -712,14 +712,14 @@ async def __run_other_node_alert_source(self, name): try: try: for alert in await self.middleware.call("failover.call_remote", "alert.run_source", [name]): - other_node_alerts.append([ + other_node_alerts.append( Alert(**dict( {k: v for k, v in alert.items() if k in keys}, klass=AlertClass.class_by_name[alert["klass"]], _source=alert["source"], _key=alert["key"] )) - ]) + ) except CallError as e: if e.errno not in NETWORK_ERRORS + (CallError.EALERTCHECKERUNAVAILABLE,): raise