Skip to content

Commit

Permalink
Fix __mount_device wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
aplanas committed Jul 23, 2020
1 parent 9a9097a commit cd0d447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/_states/snapper_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __mount_device(action):
'''
@functools.wraps(action)
def wrapper(*args, **kwargs):
device = kwargs['device']
device = kwargs.get('device', args[1] if len(args) > 1 else None)

ret = {
'name': device,
Expand Down

0 comments on commit cd0d447

Please sign in to comment.