Commit 2c9d1257 by Brian Coca

put type checking before looking against choices array to always get type comparrison correctly

parent f42b6237
......@@ -392,8 +392,8 @@ class AnsibleModule(object):
}
if not bypass_checks:
self._check_required_arguments()
self._check_argument_values()
self._check_argument_types()
self._check_argument_values()
self._check_required_together(required_together)
self._check_required_one_of(required_one_of)
self._check_required_if(required_if)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment