mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
m_names variable added to module.run func so now it is possible to run cloud.create module and others who use the names var instead of name
This commit is contained in:
parent
1b306c5849
commit
0532fd5d2a
@ -160,6 +160,8 @@ def run(name, **kwargs):
|
||||
rarg = 'm_name'
|
||||
elif arg == 'fun':
|
||||
rarg = 'm_fun'
|
||||
elif arg == 'names':
|
||||
rarg = 'm_names'
|
||||
else:
|
||||
rarg = arg
|
||||
if rarg not in kwargs and arg not in defaults:
|
||||
|
Loading…
Reference in New Issue
Block a user