fix networking *_command check_mode (#28407)

* Fix check_mode in nxos_command

* Fix check_mode for ios_command

* fix check_mode for iosxr_command

* Fix check_mode in vyos_command

* Fix check_mode in eos_command

* Fix check_mode in junos_config
This commit is contained in:
Nathaniel Case 2017-08-22 14:02:55 -04:00 committed by Chris Alfonso
commit e1def05ba2
6 changed files with 29 additions and 19 deletions

View file

@ -314,6 +314,7 @@ def parse_commands(module, warnings):
'Only show commands are supported when using check_mode, not '
'executing %s' % command
)
continue
parts = command.split('|')
text = parts[0]