fix unexpected key argument for eos_config replace (#27683)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
pull/18541/merge
Trishna Guha 7 years ago committed by GitHub
parent 91a9564b3b
commit 3da9607203

@ -240,7 +240,7 @@ class Cli:
self._module.fail_json(msg='unable to enter configuration mode', output=to_text(err, errors='surrogate_then_replace')) self._module.fail_json(msg='unable to enter configuration mode', output=to_text(err, errors='surrogate_then_replace'))
if replace: if replace:
self.exec_command('rollback clean-config', check_rc=True) self.exec_command('rollback clean-config')
rc, out, err = self.send_config(commands) rc, out, err = self.send_config(commands)
if rc != 0: if rc != 0:

Loading…
Cancel
Save