Skip to content

Commit a710794

Browse files
authored
Change u_height to float
Some devices have a non-integer size, such as 1.5U, indicating that they occupy an intermediate space. Netbox accepts float variables, allowing for precise representation of these non-integer sizes.
1 parent 2cb63a7 commit a710794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/modules/netbox_device_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def main():
210210
model=dict(required=True, type="raw"),
211211
slug=dict(required=False, type="str"),
212212
part_number=dict(required=False, type="str"),
213-
u_height=dict(required=False, type="int"),
213+
u_height=dict(required=False, type="float"),
214214
weight=dict(required=False, type="float"),
215215
weight_unit=dict(
216216
required=False,

0 commit comments

Comments
 (0)