mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Add unit tests for ios_facts module (#21114)
This commit is contained in:
committed by
GitHub
parent
a6f887ce6e
commit
64ed9bcfd7
@@ -288,7 +288,7 @@ class Interfaces(FactsBase):
|
|||||||
|
|
||||||
data = self.responses[2]
|
data = self.responses[2]
|
||||||
if data:
|
if data:
|
||||||
neighbors = self.run('show lldp neighbors detail')
|
neighbors = self.run(['show lldp neighbors detail'])
|
||||||
if neighbors:
|
if neighbors:
|
||||||
self.facts['neighbors'] = self.parse_neighbors(neighbors[0])
|
self.facts['neighbors'] = self.parse_neighbors(neighbors[0])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user