mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add debug logging to SSHCase
This commit is contained in:
parent
fa66e54dd6
commit
15296e59a5
1 changed files with 2 additions and 0 deletions
|
@ -824,6 +824,8 @@ class SSHCase(ShellCase):
|
|||
'''
|
||||
ret = self.run_ssh(self._arg_str(function, arg), timeout=timeout,
|
||||
wipe=wipe, raw=raw)
|
||||
log.debug('SSHCase run_function executed %s with arg %s', function, arg)
|
||||
log.debug('SSHCase JSON return: %s', ret)
|
||||
try:
|
||||
return json.loads(ret)['localhost']
|
||||
except Exception:
|
||||
|
|
Loading…
Add table
Reference in a new issue