mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix inconsitencies between code assumptions and schema (#34901)
* Fix inconsitencies between code assumptions and schema * Address a couple of RETURN issues, where the description was parsed as a dict
This commit is contained in:
@@ -1065,7 +1065,7 @@ class ModuleValidator(Validator):
|
||||
for option, details in options.items():
|
||||
try:
|
||||
names = [option] + details.get('aliases', [])
|
||||
except AttributeError:
|
||||
except (TypeError, AttributeError):
|
||||
# Reporting of this syntax error will be handled by schema validation.
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user