mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
typo fix
This commit is contained in:
parent
3a6ca0b4a6
commit
478674cc57
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ def process_module(module, options, env, template, outputname, module_map, alias
|
|||
del doc['options'][k]['version_added']
|
||||
if not 'description' in doc['options'][k]:
|
||||
raise AnsibleError("Missing required description for option %s in %s " % (k, module))
|
||||
if not 'requried' in doc['options'][k]:
|
||||
if not 'required' in doc['options'][k]:
|
||||
raise AnsibleError("Missing required 'required' for option %s in %s " % (k, module))
|
||||
if not isinstance(doc['options'][k]['description'],list):
|
||||
doc['options'][k]['description'] = [doc['options'][k]['description']]
|
||||
|
|
Loading…
Reference in a new issue