mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
don explicitly add node on eventlisten
This commit is contained in:
parent
bbad93c386
commit
e354080dd7
1 changed files with 1 additions and 2 deletions
|
@ -42,8 +42,6 @@ def parse():
|
|||
if v is not None:
|
||||
opts[k] = v
|
||||
|
||||
opts['sock_dir'] = os.path.join(opts['sock_dir'], opts['node'])
|
||||
|
||||
return opts
|
||||
|
||||
|
||||
|
@ -55,6 +53,7 @@ def listen(sock_dir, node):
|
|||
node,
|
||||
sock_dir,
|
||||
)
|
||||
print event.puburi
|
||||
while True:
|
||||
ret = event.get_event(full=True)
|
||||
if ret is None:
|
||||
|
|
Loading…
Add table
Reference in a new issue