mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-17 14:21:30 +00:00
fix nxos_igmp_interface output (#28735)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
committed by
Nathaniel Case
parent
fbec5ab12d
commit
0a8ec4ddef
@@ -249,7 +249,10 @@ def execute_show_command(command, module, command_type='cli_show'):
|
||||
'output': 'text',
|
||||
}]
|
||||
else:
|
||||
cmds = [command]
|
||||
cmds = [{
|
||||
'command': command,
|
||||
'output': 'json',
|
||||
}]
|
||||
|
||||
return run_commands(module, cmds)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user