mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix ipc_mode check in windows
Although 'tcp' is the only supported ipc_mode in windows, this check was completely wrong and would never allow overriding it.
This commit is contained in:
parent
fe0778dad5
commit
5a21893e82
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class SaltEvent(object):
|
|||
self.opts = opts
|
||||
if sock_dir is None:
|
||||
sock_dir = opts.get('sock_dir', None)
|
||||
if salt.utils.is_windows() and not hasattr(opts, 'ipc_mode'):
|
||||
if salt.utils.is_windows() and 'ipc_mode' not in opts:
|
||||
opts['ipc_mode'] = 'tcp'
|
||||
self.puburi, self.pulluri = self.__load_uri(sock_dir, node)
|
||||
self.pending_tags = []
|
||||
|
|
Loading…
Add table
Reference in a new issue