Remove ssh_async from NetapiClient clients; it is not implemented

This commit is contained in:
Seth House 2016-12-07 17:30:08 -07:00
parent 6026cb23b2
commit cb58cd4795

View File

@ -132,17 +132,6 @@ class NetapiClient(object):
ssh_client = salt.client.ssh.client.SSHClient(mopts=self.opts)
return ssh_client.cmd_sync(kwargs)
def ssh_async(self, fun, timeout=None, **kwargs):
'''
Run salt-ssh commands asynchronously
Wraps :py:meth:`salt.client.ssh.client.SSHClient.cmd_async`.
:return: Returns the JID to check for results on
'''
kwargs['fun'] = fun
return salt.client.ssh.client.cmd_async(kwargs)
def runner(self, fun, timeout=None, **kwargs):
'''
Run `runner modules <all-salt.runners>` synchronously