mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #15313 from thatch45/runner_sreq_fix
Set the route dst in the api maste_call interface
This commit is contained in:
commit
8228b64fdc
@ -131,6 +131,8 @@ class RunnerClient(mixins.SyncClientMixin, mixins.AsyncClientMixin, object):
|
||||
# 'tcp://{0[interface]}:{0[ret_port]}'.format(self.opts),
|
||||
# )
|
||||
sreq = salt.transport.Channel.factory(self.opts, crypt='clear')
|
||||
if self.opts['transport'] == 'raet':
|
||||
sreq.dst = (None, None, 'local_cmd')
|
||||
ret = sreq.send(load)
|
||||
if isinstance(ret, collections.Mapping):
|
||||
if 'error' in ret:
|
||||
|
Loading…
Reference in New Issue
Block a user