mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Multimaster beacons fix: put list into a dict to fire on the bus
This commit is contained in:
parent
790fb41b33
commit
8a88542b7f
1 changed files with 2 additions and 2 deletions
|
@ -2559,7 +2559,7 @@ class Minion(MinionBase):
|
|||
elif tag.startswith('__beacons_return'):
|
||||
if self.connected:
|
||||
log.debug('Firing beacons to master')
|
||||
self._fire_master(events=data)
|
||||
self._fire_master(events=data['beacons'])
|
||||
|
||||
def _fallback_cleanups(self):
|
||||
'''
|
||||
|
@ -2627,7 +2627,7 @@ class Minion(MinionBase):
|
|||
event = salt.utils.event.get_event('minion',
|
||||
opts=self.opts,
|
||||
listen=False)
|
||||
event.fire_event(beacons, '__beacons_return')
|
||||
event.fire_event({'beacons': beacons}, '__beacons_return')
|
||||
event.destroy()
|
||||
|
||||
new_periodic_callbacks['beacons'] = tornado.ioloop.PeriodicCallback(
|
||||
|
|
Loading…
Add table
Reference in a new issue