Skip to content

Commit

Permalink
Don't discard running beacons config when listing becaons (#35174)
Browse files Browse the repository at this point in the history
Refs #34827
  • Loading branch information
Nicole Thomas authored Aug 3, 2016
1 parent 3754550 commit 67d8dd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion salt/beacons/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ def list_beacons(self):
# Fire the complete event back along with the list of beacons
evt = salt.utils.event.get_event('minion', opts=self.opts)
b_conf = self.functions['config.merge']('beacons')
evt.fire_event({'complete': True, 'beacons': b_conf},
self.opts['beacons'].update(b_conf)
evt.fire_event({'complete': True, 'beacons': self.opts['beacons']},
tag='/salt/minion/minion_beacons_list_complete')

return True
Expand Down

0 comments on commit 67d8dd0

Please sign in to comment.