fixed an issue with choices in lists
Dieser Commit ist enthalten in:
Ursprung
328e58c439
Commit
d82a902043
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
|
@ -124,8 +124,7 @@ class Types(metaclass=meta):
|
||||||
f"helptext of option {name} is unset."
|
f"helptext of option {name} is unset."
|
||||||
" Ansible requires suboptions to have an documentation"
|
" Ansible requires suboptions to have an documentation"
|
||||||
)
|
)
|
||||||
elif elements["type"] == "list":
|
elif "choices" in elements:
|
||||||
if "choices" in elements:
|
|
||||||
option["choices"] = elements["choices"]
|
option["choices"] = elements["choices"]
|
||||||
if default is not None:
|
if default is not None:
|
||||||
option["default"] = default
|
option["default"] = default
|
||||||
|
|
Laden …
Tabelle hinzufügen
In neuem Issue referenzieren