validate_modules: added missing single quote (#70744)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/70770/head
Abhijeet Kasurde 4 years ago committed by GitHub
parent cf217178c7
commit c1402ddee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1905,7 +1905,7 @@ class ModuleValidator(Validator):
doc_type = doc_options_arg.get('type', 'str')
data_elements = data.get('elements', None)
if (doc_elements and not doc_type == 'list'):
msg = "Argument '%s " % arg
msg = "Argument '%s' " % arg
if context:
msg += " found in %s" % " -> ".join(context)
msg += " defines parameter elements as %s but it is valid only when value of parameter type is list" % doc_elements

Loading…
Cancel
Save