File prevent-using-syncwrapper-with-no-reason.patch of Package salt

From d17a0631fa220775ed465c30267b2bdb8fcff43a Mon Sep 17 00:00:00 2001
From: Victor Zhestkov <vzhestkov@suse.com>
Date: Wed, 25 Sep 2024 14:04:40 +0300
Subject: [PATCH] Prevent using SyncWrapper with no reason

---
 salt/channel/server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/salt/channel/server.py b/salt/channel/server.py
index 5fcca7fd59..2b9f4f76d4 100644
--- a/salt/channel/server.py
+++ b/salt/channel/server.py
@@ -95,7 +95,7 @@ class ReqServerChannel:
         # other things needed for _auth
         # Create the event manager
         self.event = salt.utils.event.get_master_event(
-            self.opts, self.opts["sock_dir"], listen=False
+            self.opts, self.opts["sock_dir"], listen=False, io_loop=io_loop
         )
         self.auto_key = salt.daemons.masterapi.AutoKey(self.opts)
         # only create a con_cache-client if the con_cache is active
-- 
2.47.0

openSUSE Build Service is sponsored by