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:
parent
3eec84b69a
commit
f883b33441
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ option_schema = Schema(
|
||||||
doc_schema = Schema(
|
doc_schema = Schema(
|
||||||
{
|
{
|
||||||
Required('module'): basestring,
|
Required('module'): basestring,
|
||||||
'short_description': Any(basestring, [basestring]),
|
'short_description': basestring,
|
||||||
'description': Any(basestring, [basestring]),
|
'description': Any(basestring, [basestring]),
|
||||||
'version_added': Any(basestring, float),
|
'version_added': Any(basestring, float),
|
||||||
'author': Any(None, basestring, [basestring]),
|
'author': Any(None, basestring, [basestring]),
|
||||||
|
|
Loading…
Reference in a new issue