Make is so that the params param truly isn't required (fix for #3860)

This commit is contained in:
Elena Washington 2016-06-03 09:47:31 -04:00 committed by Matt Clay
parent 0fe99f20d9
commit 91e433594a

View file

@ -232,7 +232,7 @@ def main():
immediate = module.params.get('immediate') or False
if state == 'present':
for required in ['name', 'description', 'engine', 'params']:
for required in ['name', 'description', 'engine']:
if not module.params.get(required):
module.fail_json(msg = str("Parameter %s required for state='present'" % required))
else: