fix unexpected key argument for eos_config replace (#27683)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
91a9564b3b
commit
3da9607203
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue