fix nxos_igmp_interface output (#28735)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2017-08-28 17:06:30 -04:00 committed by Nathaniel Case
parent fbec5ab12d
commit 0a8ec4ddef

View file

@ -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)