mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Subscribe on create
This commit is contained in:
parent
1feb57d7d1
commit
3dc4a4f676
@ -154,6 +154,7 @@ class SaltEvent(object):
|
||||
if sock_dir is None:
|
||||
sock_dir = opts.get('sock_dir', None)
|
||||
self.puburi, self.pulluri = self.__load_uri(sock_dir, node)
|
||||
self.subscribe()
|
||||
self.pending_events = []
|
||||
|
||||
def __load_uri(self, sock_dir, node):
|
||||
@ -331,7 +332,6 @@ class SaltEvent(object):
|
||||
|
||||
New in Boron
|
||||
'''
|
||||
self.subscribe()
|
||||
|
||||
if pending_tags is None:
|
||||
pending_tags = []
|
||||
|
Loading…
Reference in New Issue
Block a user