mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix bad ref to AnsibleConnectionError -> AnsibleConnectionFailure (#22838)
This commit is contained in:
parent
78de05e58d
commit
dfec69b9a1
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class Connection(ConnectionBase):
|
||||||
key_filename = os.path.expanduser(self._play_context.private_key_file)
|
key_filename = os.path.expanduser(self._play_context.private_key_file)
|
||||||
|
|
||||||
if not self._network_os:
|
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:
|
try:
|
||||||
self._manager = manager.connect(
|
self._manager = manager.connect(
|
||||||
|
|
Loading…
Reference in a new issue