mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix junos terminal error regex (#50538)
* Change junos terminal error regex to read error string correctly.
This commit is contained in:
parent
97621852db
commit
555732f8bb
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class TerminalModule(TerminalBase):
|
|||
terminal_stderr_re = [
|
||||
re.compile(br"unknown command"),
|
||||
re.compile(br"syntax error"),
|
||||
re.compile(br"error: commit failed")
|
||||
re.compile(br"[\r\n]error:")
|
||||
]
|
||||
|
||||
def on_open_shell(self):
|
||||
|
|
Loading…
Reference in a new issue