mirror of https://github.com/ansible/ansible.git
fixes issue where netcli would cause exception with an invalid conditional
The Conditional instance will cause a stack trace if the provided conditional does not map properly to the response. This fixes that issue so that the Conditional instance will now raise a FailedConditionalError with the conditional that caused the failure. Modules *_command modules (and any other modules that create an instance of Conditional) should be updated to catch the FailedConditionalError exception.pull/17638/head
parent
ff52e01a11
commit
1a8ad2a20f
Loading…
Reference in New Issue