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

Ironware module_utils cliconf plugin minor change (#32920)

As per refactor in connection framework PR 32521
pass socket_path to Connection class while initiating
cliconf connection
This commit is contained in:
Ganesh Nalawade 2017-11-15 11:49:43 +05:30 committed by GitHub
parent 52c87c4691
commit 7170c26399
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ def get_connection(module):
global _CONNECTION global _CONNECTION
if _CONNECTION: if _CONNECTION:
return _CONNECTION return _CONNECTION
_CONNECTION = Connection(module) _CONNECTION = Connection(module._socket_path)
return _CONNECTION return _CONNECTION