mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix for AttributeError in network_cli (#50284)
* Value of prompt_answer is wrongly used as `self.prompt_answer` while logging it in message queue
This commit is contained in:
parent
7ec82cdfc9
commit
104c415543
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ class Connection(NetworkConnectionBase):
|
|||
if newline:
|
||||
self._ssh_shell.sendall(b'\r')
|
||||
prompt_answer += '\r'
|
||||
self._log_messages("matched command prompt answer: %s" % self.prompt_answer)
|
||||
self._log_messages("matched command prompt answer: %s" % prompt_answer)
|
||||
if check_all and prompts and not single_prompt:
|
||||
prompts.pop(0)
|
||||
answer.pop(0)
|
||||
|
|
Loading…
Reference in a new issue