Skip to content

Commit df90517

Browse files
authored
Fix #815: Change cable length to float (#828)
1 parent b592f80 commit df90517

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/modules/netbox_cable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
description:
121121
- The length of the cable
122122
required: false
123-
type: int
123+
type: float
124124
length_unit:
125125
description:
126126
- The unit in which the length of the cable is measured
@@ -304,7 +304,7 @@ def main():
304304
),
305305
label=dict(required=False, type="str"),
306306
color=dict(required=False, type="str"),
307-
length=dict(required=False, type="int"),
307+
length=dict(required=False, type="float"),
308308
length_unit=dict(
309309
required=False, choices=["m", "cm", "ft", "in"], type="str"
310310
),

0 commit comments

Comments
 (0)