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

This commit is contained in:
mburggraf 2026-06-03 13:08:21 +02:00 committed by GitHub
parent 120700688c
commit 583ab535e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -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