mirror of https://github.com/ansible/ansible.git
cliconf: Fix use of multiple prompts in send_command (#41885)
Upon preparing the commands for sending to the device, cliconf converts the optional prompt to a byte string. However, since there might be multiple prompts specified, the conversion has to happen for each prompt individually. Otherwise, wrong regexes will be compiled in _handle_prompt from network_cli Connection.pull/41896/head
parent
348f87d3f4
commit
d4b9105c9c
Loading…
Reference in New Issue