mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Merge pull request #19406 from cachedout/batch_fix
Default transport in ckminions
This commit is contained in:
commit
d2d1085f93
@ -103,7 +103,7 @@ class CkMinions(object):
|
|||||||
def __init__(self, opts):
|
def __init__(self, opts):
|
||||||
self.opts = opts
|
self.opts = opts
|
||||||
self.serial = salt.payload.Serial(opts)
|
self.serial = salt.payload.Serial(opts)
|
||||||
if self.opts['transport'] == 'zeromq':
|
if self.opts.get('transport', 'zeromq') == 'zeromq':
|
||||||
self.acc = 'minions'
|
self.acc = 'minions'
|
||||||
else:
|
else:
|
||||||
self.acc = 'accepted'
|
self.acc = 'accepted'
|
||||||
|
Loading…
Reference in New Issue
Block a user