mirror of https://github.com/ansible/ansible.git
Fix stderr false return value (#22845)
* ensure exit_json does not fail from stderr=False - do a little bit of safety-checking in exit_json to not try to .splitlines() on a boolean - remove the stderr=boolean from uri.py, this is the only spot that uses it (at least so obviously) - add unit tests that call exit_json. These are useless because the stderr parsing is in _execute_module and is difficult to mock; deleting these tests after the commit. * remove added unit tests per prev commit exit_json doesn't do the param parsing, that is buried deep inside _execute_module.pull/22843/head
parent
5beb27ef5e
commit
887456ab8e
Loading…
Reference in New Issue