mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
To fix eos_vrf failure when transport method is eapi (#41470)
* resolve bug 40930 * resolve bug 40930 * to fix review comments * to fix review comments * reverting the changes based on review
This commit is contained in:
@@ -189,7 +189,7 @@ def map_obj_to_commands(updates, module):
|
||||
|
||||
def map_config_to_obj(module):
|
||||
objs = []
|
||||
output = run_commands(module, ['show vrf'])
|
||||
output = run_commands(module, {'command': 'show vrf', 'output': 'text'})
|
||||
|
||||
lines = output[0].strip().splitlines()[3:]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user