mirror of https://github.com/ansible/ansible.git
Remove the error checking from apply_patch()
The error checking would itself cause a traceback. The load_config() function that we'd need to check for errors from only returns None so there's no way to check for errors via the return value. In the future someone could rewrite the load_config function to return useful information and restore the error checking but for now this is better as it won't traceback on success and it will let us turn on static analysis of undefined variables Fixes #27255 References #27254pull/27221/merge
parent
a3d8b9eef4
commit
8b34e31e05
Loading…
Reference in New Issue