fix unexpected key argument for eos_config replace (#27683)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2017-08-03 14:08:23 +05:30 committed by GitHub
parent 91a9564b3b
commit 3da9607203

View file

@ -240,7 +240,7 @@ class Cli:
self._module.fail_json(msg='unable to enter configuration mode', output=to_text(err, errors='surrogate_then_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)
if rc != 0: