mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fixs command dict to be sent to connection socket (#21713)
There as an invalid key in the command dict that would cause failure using prompts. This changes the key from response to answer which is what is expected by network_cli
This commit is contained in:
@@ -259,7 +259,7 @@ class CliBase(object):
|
||||
transform = ComplexDict(dict(
|
||||
command=dict(key=True),
|
||||
prompt=dict(),
|
||||
response=dict(),
|
||||
answer=dict(),
|
||||
sendonly=dict(default=False)
|
||||
))
|
||||
return transform(obj)
|
||||
|
||||
Reference in New Issue
Block a user