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

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

This commit is contained in:
Brian Coca 2015-07-05 19:55:11 -04:00
parent f42b6237d9
commit 2c9d1257ba

View file

@ -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)