mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Clean up flo zmq deed, since we have changed the MWorker
This commit is contained in:
parent
7a3cca4202
commit
e0e8868530
@ -223,7 +223,6 @@ class SaltZmqWorker(ioflo.base.deeding.Deed):
|
||||
The zeromq behavior for the workers
|
||||
'''
|
||||
Ioinits = {'opts': '.salt.opts',
|
||||
'mkey': '.salt.var.zmq.master_key',
|
||||
'key': '.salt.access_keys',
|
||||
'aes': '.salt.var.zmq.aes'}
|
||||
|
||||
@ -242,7 +241,6 @@ class SaltZmqWorker(ioflo.base.deeding.Deed):
|
||||
crypticle = salt.crypt.Crypticle(self.opts.value, self.aes.value)
|
||||
self.worker = salt.master.FloMWorker(
|
||||
self.opts.value,
|
||||
self.mkey.value,
|
||||
self.key.value,
|
||||
crypticle)
|
||||
self.worker.setup()
|
||||
|
@ -2081,10 +2081,9 @@ class FloMWorker(MWorker):
|
||||
'''
|
||||
def __init__(self,
|
||||
opts,
|
||||
mkey,
|
||||
key,
|
||||
):
|
||||
MWorker.__init__(self, opts, mkey, key)
|
||||
MWorker.__init__(self, opts, key)
|
||||
|
||||
def setup(self):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user