mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +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):
|
||||
self.opts = opts
|
||||
self.serial = salt.payload.Serial(opts)
|
||||
if self.opts['transport'] == 'zeromq':
|
||||
if self.opts.get('transport', 'zeromq') == 'zeromq':
|
||||
self.acc = 'minions'
|
||||
else:
|
||||
self.acc = 'accepted'
|
||||
|
Loading…
Reference in New Issue
Block a user