mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-31 12:56:24 -06:00
Fix YAML representation of decimal values
This commit is contained in:
parent
077a10ef26
commit
203b7d286e
@ -168,7 +168,7 @@ class DeviceType(NetBoxModel):
|
||||
('model', self.model),
|
||||
('slug', self.slug),
|
||||
('part_number', self.part_number),
|
||||
('u_height', self.u_height),
|
||||
('u_height', float(self.u_height)),
|
||||
('is_full_depth', self.is_full_depth),
|
||||
('subdevice_role', self.subdevice_role),
|
||||
('airflow', self.airflow),
|
||||
|
Loading…
Reference in New Issue
Block a user