Fix exos_facts httpapi (#61198)

pull/61522/head
Ujwal Komarla 5 years ago committed by Nathaniel Case
parent f4fa4e4e0e
commit add33ccbdc

@ -212,7 +212,7 @@ def get_resource_connection(module):
capabilities = get_capabilities(module)
network_api = capabilities.get('network_api')
if network_api in ('cliconf', 'nxapi', 'eapi'):
if network_api in ('cliconf', 'nxapi', 'eapi', 'exosapi'):
module._connection = Connection(module._socket_path)
elif network_api == 'netconf':
module._connection = NetconfConnection(module._socket_path)

Loading…
Cancel
Save