junos cli_config idempotence fix (#44706)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
a7f35e232e
commit
79a020e312
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class Cliconf(CliconfBase):
|
||||||
resp = self.send_command(command)
|
resp = self.send_command(command)
|
||||||
|
|
||||||
r = resp.splitlines()
|
r = resp.splitlines()
|
||||||
if len(r) == 1 and r[0] == '[edit]':
|
if len(r) == 1 and '[edit]' in r[0]:
|
||||||
resp = ''
|
resp = ''
|
||||||
|
|
||||||
return resp
|
return resp
|
||||||
|
|
Loading…
Reference in a new issue