Ensure that the shared list of jids is passed when creating the Minion. Fixes an issue when minions are pointed at multiple syndics.

This commit is contained in:
Gareth J. Greenaway 2018-06-12 13:07:16 -07:00 committed by rallytime
parent 16916d6bd2
commit e4e62e8b3a
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -935,7 +935,7 @@ class Minion(MinionBase):
# Flag meaning minion has finished initialization including first connect to the master.
# True means the Minion is fully functional and ready to handle events.
self.ready = False
self.jid_queue = jid_queue or []
self.jid_queue = [] if jid_queue is None else jid_queue
self.periodic_callbacks = {}
if io_loop is None: