mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
fixes ios_command to_command method (#21792)
Changes key from response to answer to match expected payload fixes #21791
This commit is contained in:
committed by
John R Barker
parent
58ee661437
commit
8824387cf8
@@ -69,7 +69,7 @@ def to_commands(module, commands):
|
||||
spec = {
|
||||
'command': dict(key=True),
|
||||
'prompt': dict(),
|
||||
'response': dict()
|
||||
'answer': dict()
|
||||
}
|
||||
transform = ComplexList(spec, module)
|
||||
return transform(commands)
|
||||
|
||||
Reference in New Issue
Block a user