Added result responses (#23336)

Return value 'responses' is now created in result, so it can actually be
called/used.
This commit is contained in:
jpvrenen 2017-08-01 19:18:34 +02:00 committed by Chris Alfonso
parent 25b3f194f8
commit b13d547621

View file

@ -279,7 +279,7 @@ def run(module, result):
# send the configuration commands to the device and merge # send the configuration commands to the device and merge
# them with the current running config # them with the current running config
if not module.check_mode: if not module.check_mode:
module.config.load_config(commands) result['responses'] = module.config.load_config(commands)
result['changed'] = True result['changed'] = True
if module.params['save']: if module.params['save']: