mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
junos cli_config idempotence fix (#44706)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -169,7 +169,7 @@ class Cliconf(CliconfBase):
|
||||
resp = self.send_command(command)
|
||||
|
||||
r = resp.splitlines()
|
||||
if len(r) == 1 and r[0] == '[edit]':
|
||||
if len(r) == 1 and '[edit]' in r[0]:
|
||||
resp = ''
|
||||
|
||||
return resp
|
||||
|
||||
Reference in New Issue
Block a user