mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Nice catch @s0undt3ch
This commit is contained in:
parent
dc674dc3ab
commit
174737dacb
@ -204,7 +204,8 @@ def single(fun, name, test=None, **kwargs):
|
||||
return 'Invalid function passed'
|
||||
kwargs.update({'state': comps[0],
|
||||
'fun': comps[1],
|
||||
'__id__': kwargs['name']})
|
||||
'__id__': name,
|
||||
'name': name})
|
||||
opts = copy.copy(__opts__)
|
||||
if not test is None:
|
||||
opts['test'] = test
|
||||
|
Loading…
Reference in New Issue
Block a user