Merge pull request #15313 from thatch45/runner_sreq_fix

Set the route dst in the api maste_call interface
This commit is contained in:
Thomas S Hatch 2014-08-27 10:32:01 -06:00
commit 8228b64fdc

View File

@ -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: