From 4cb1e74fba7fc988ae3e93e49b6989b9cc04db3f Mon Sep 17 00:00:00 2001 From: themylogin Date: Thu, 29 Aug 2024 14:03:00 +0200 Subject: [PATCH] Fix --- .../middlewared/alert/source/failover_remote_inaccessible.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewared/middlewared/alert/source/failover_remote_inaccessible.py b/src/middlewared/middlewared/alert/source/failover_remote_inaccessible.py index 61c45dbb8a20e..42a62ed2a956e 100644 --- a/src/middlewared/middlewared/alert/source/failover_remote_inaccessible.py +++ b/src/middlewared/middlewared/alert/source/failover_remote_inaccessible.py @@ -31,7 +31,7 @@ def __init__(self, middleware): async def check(self): try: - await self.middleware.call('failover.call_remote', 'core.ping', {'timeout': 2}) + await self.middleware.call('failover.call_remote', 'core.ping', [], {'timeout': 2}) except Exception: if time.monotonic() - self.last_available > 4 * 3600: if self.incident_id is None: