Skip to content

Commit

Permalink
Bugfix: get a proper option for CLI and opts of wiping the tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Maryniuk committed Apr 6, 2018
1 parent ca27af6 commit 2075cba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions salt/client/ssh/__init__.py
Expand Up @@ -833,10 +833,7 @@ def __init__(

self.opts = opts
self.tty = tty
if kwargs.get('wipe'):
self.wipe = 'False'
else:
self.wipe = 'True' if self.opts.get('ssh_wipe') else 'False'
self.wipe = self.opts.get('ssh_wipe')
if kwargs.get('thin_dir'):
self.thin_dir = kwargs['thin_dir']
elif self.winrm:
Expand Down

0 comments on commit 2075cba

Please sign in to comment.