This commit is contained in:
Mike Place 2015-11-11 16:28:40 -07:00
parent 9b18f372e6
commit 52ed06500a

View file

@ -63,7 +63,7 @@ class WheelClient(mixins.SyncClientMixin, mixins.AsyncClientMixin, object):
channel = salt.transport.Channel.factory(self.opts,
crypt='clear',
master_uri=master_uri)
ret = channel.send({})
ret = channel.send(load)
if isinstance(ret, collections.Mapping):
if 'error' in ret:
raise_error(**ret['error'])