2
0
Эх сурвалжийг харах

Fixes #22358: Remove broken and unused function get_0u_devices (#22368)

mburggraf 1 сар өмнө
parent
commit
583ab535e8

+ 0 - 3
netbox/dcim/models/racks.py

@@ -638,9 +638,6 @@ class Rack(ContactsMixin, ImageAttachmentsMixin, TrackingModelMixin, RackBase):
 
         return elevation.render(face)
 
-    def get_0u_devices(self):
-        return self.devices.filter(position=0)
-
     def get_utilization(self):
         """
         Determine the utilization rate of the rack and return it as a percentage. Occupied and reserved units both count