mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Don't require opts in unmounting
This commit is contained in:
parent
de3e80469d
commit
a185663ab2
@ -236,13 +236,6 @@ def unmounted(name,
|
||||
'result': True,
|
||||
'comment': ''}
|
||||
|
||||
# Make sure that opts is correct, it can be a list or a comma delimited
|
||||
# string
|
||||
if isinstance(opts, string_types):
|
||||
opts = opts.split(',')
|
||||
elif opts is None:
|
||||
opts = ['defaults']
|
||||
|
||||
# Get the active data
|
||||
active = __salt__['mount.active']()
|
||||
if name not in active:
|
||||
|
Loading…
Reference in New Issue
Block a user