Skip to content
Snippets Groups Projects
Commit 60593b7d authored by Thomas Woerner's avatar Thomas Woerner
Browse files

utils/templates/ipamodule*.py.in: Fix superfluous type in argument spec

The type was given twice for state and action argument specs. This has
been fixed.
parent e84ed3b6
No related branches found
No related tags found
No related merge requests found
......@@ -157,10 +157,10 @@ def main():
PARAMETER2=dict(required=False, type='list', elements='str',
default=None, aliases=["API_PARAMETER_NAME"]),
# action
action=dict(type="str", default="$name", type="str",
action=dict(type="str", default="$name",
choices=["member", "$name"]),
# state
state=dict(type="str", default="present", type="str",
state=dict(type="str", default="present",
choices=["present", "absent"]),
),
supports_check_mode=True,
......
......@@ -128,7 +128,7 @@ def main():
PARAMETER2=dict(required=False, type='list', elements='str',
aliases=["API_PARAMETER_NAME"], default=None),
# state
state=dict(type="str", default="present", type="str",
state=dict(type="str", default="present",
choices=["present", "absent"]),
),
supports_check_mode=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment