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
parent fb4ceacb88
commit c537b3275b
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

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: