mirror of https://github.com/ansible/ansible.git
Adds hasattr checks for rpc calls used in network_cli plugins (#49173)
Network platforms that don't have cliconf plugin will fail when
sending rpc calls for the reset_history and disable_response_logging
functions because those are defined in cliconf exclusively at this
time.
This patch adds checks for those attributes before making the call
(cherry picked from commit 0b5b5e69d8
)
pull/49461/head
parent
ba45d8a248
commit
65a9369f68
Loading…
Reference in New Issue