From dfec69b9a1039eb5670db2f86808e58258e23057 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Thu, 23 Mar 2017 10:43:02 -0400 Subject: [PATCH] Fix bad ref to AnsibleConnectionError -> AnsibleConnectionFailure (#22838) --- lib/ansible/plugins/connection/netconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/connection/netconf.py b/lib/ansible/plugins/connection/netconf.py index 118e9b21ca..31749c75dd 100644 --- a/lib/ansible/plugins/connection/netconf.py +++ b/lib/ansible/plugins/connection/netconf.py @@ -75,7 +75,7 @@ class Connection(ConnectionBase): key_filename = os.path.expanduser(self._play_context.private_key_file) if not self._network_os: - raise AnsibleConnectionError('network_os must be set for netconf connections') + raise AnsibleConnectionFailure('network_os must be set for netconf connections') try: self._manager = manager.connect(