fix nxos_igmp_interface output (#28735)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
pull/28705/merge
Trishna Guha 7 years ago 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)

Loading…
Cancel
Save