Skip to content

Commit fea63f4

Browse files
authored
Fix required for type argument
Type is required otherwise module fails and this is also reflected in documentation. Enforcing it.
1 parent 064878c commit fea63f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/comware_portchannel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def main():
204204
group=dict(required=True, type='str'),
205205
members=dict(required=False),
206206
mode=dict(required=False, choices=['static', 'dynamic']),
207-
type=dict(required=False, choices=['bridged', 'routed']),
207+
type=dict(required=True, choices=['bridged', 'routed']),
208208
lacp_mode=dict(required=False, choices=['active', 'passive']),
209209
lacp_edge=dict(required=False, choices=['enabled', 'disabled']),
210210
min_ports=dict(required=False, type='str'),

0 commit comments

Comments
 (0)