There are other instances of transform being used... update them as well (#45663)

This commit is contained in:
Nathaniel Case
2018-09-17 08:42:20 -04:00
committed by GitHub
parent a892a6ef03
commit 780dc9c561
4 changed files with 11 additions and 18 deletions

View File

@@ -413,8 +413,10 @@ def to_command(module, commands):
transform = ComplexList(dict(
command=dict(key=True),
output=dict(default=default_output),
prompt=dict(),
answer=dict()
prompt=dict(type='list'),
answer=dict(type='list'),
sendonly=dict(type='bool', default=False),
check_all=dict(type='bool', default=False),
), module)
return transform(to_list(commands))