1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Added missing store regex pattern for prompt found after error (#35820)

This commit is contained in:
bdowling 2018-03-07 09:35:35 -05:00 committed by Nathaniel Case
parent bc6b96d42e
commit 0fee332643

View file

@ -487,6 +487,7 @@ class Connection(ConnectionBase):
match = regex.search(response)
if match:
errored_response = response
self._matched_pattern = regex.pattern
self._matched_prompt = match.group()
break