1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update from napalm PR (#45743)

This commit is contained in:
Nathaniel Case 2018-09-17 15:39:07 -04:00 committed by GitHub
parent fa18d45eb3
commit 52c20bbd3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -360,8 +360,10 @@ class NetworkConnectionBase(ConnectionBase):
initialize implementation plugin options
'''
for plugin in self._implementation_plugins:
if hasattr(plugin, 'set_options'):
try:
plugin.set_options(task_keys=task_keys, var_options=var_options, direct=direct)
except AttributeError:
pass
def _update_connection_state(self):
'''