Skip to content

Commit b6e65ff

Browse files
committed
fixup! Allow adding power port templates to modules
1 parent 17366d2 commit b6e65ff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugins/modules/netbox_power_port_template.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,13 +367,15 @@ def main():
367367
("state", "absent", ["name"]),
368368
]
369369

370-
required_one_of = [('device_type', 'module_type'),]
370+
required_one_of = [
371+
("device_type", "module_type"),
372+
]
371373

372374
module = NetboxAnsibleModule(
373375
argument_spec=argument_spec,
374376
supports_check_mode=True,
375377
required_if=required_if,
376-
required_one_of=required_one_of
378+
required_one_of=required_one_of,
377379
)
378380

379381
netbox_power_port_template = NetboxDcimModule(module, NB_POWER_PORT_TEMPLATES)

0 commit comments

Comments
 (0)