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

Add unit tests for ios_facts module (#21114)

This commit is contained in:
Ricardo Carrillo Cruz 2017-02-08 12:24:25 +01:00 committed by GitHub
parent a6f887ce6e
commit 64ed9bcfd7

View file

@ -288,7 +288,7 @@ class Interfaces(FactsBase):
data = self.responses[2]
if data:
neighbors = self.run('show lldp neighbors detail')
neighbors = self.run(['show lldp neighbors detail'])
if neighbors:
self.facts['neighbors'] = self.parse_neighbors(neighbors[0])