1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

short_description is just basestring (#35)

As of ansible/ansible 883f451158
'short_description' value is expected to only be a string.

This should catch issues like
https://github.com/ansible/ansible/issues/17634
This commit is contained in:
Adrian Likins 2016-09-19 14:54:07 -04:00 committed by John Barker
parent 3eec84b69a
commit f883b33441

View file

@ -32,7 +32,7 @@ option_schema = Schema(
doc_schema = Schema(
{
Required('module'): basestring,
'short_description': Any(basestring, [basestring]),
'short_description': basestring,
'description': Any(basestring, [basestring]),
'version_added': Any(basestring, float),
'author': Any(None, basestring, [basestring]),