mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #8857 from basepi/minioneventlisten
Fix eventlisten.py for minion event bus
This commit is contained in:
commit
d8b609c279
@ -44,6 +44,8 @@ def parse():
|
||||
if v is not None:
|
||||
opts[k] = v
|
||||
|
||||
opts['sock_dir'] = os.path.join(opts['sock_dir'], opts['node'])
|
||||
|
||||
if 'minion' in options.node:
|
||||
if args:
|
||||
opts['id'] = args[0]
|
||||
@ -51,8 +53,6 @@ def parse():
|
||||
|
||||
opts['id'] = options.node
|
||||
|
||||
opts['sock_dir'] = os.path.join(opts['sock_dir'], opts['node'])
|
||||
|
||||
return opts
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user