[PR #10225] [MERGED] #10176 fix space utilization for rack #13585

Closed
opened 2025-12-29 23:19:42 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10225
Author: @arthanson
Created: 8/31/2022
Status: Merged
Merged: 8/31/2022
Merged by: @jeremystretch

Base: developHead: 10176


📝 Commits (1)

📊 Changes

1 file changed (+6 additions, -5 deletions)

View changed files

📝 netbox/dcim/models/racks.py (+6 -5)

📄 Description

Fixes: #10176

Fixes space utilization for racks:

  1. empty rack now shows 0%
  2. reserved rack utilization works correctly (previously was showing 50% of what it should).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/10225 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 8/31/2022 **Status:** ✅ Merged **Merged:** 8/31/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `10176` --- ### 📝 Commits (1) - [`0cfe2d8`](https://github.com/netbox-community/netbox/commit/0cfe2d882d5cbc65073336f6312bfb2c6d481884) #10176 fix space utilization for rack ### 📊 Changes **1 file changed** (+6 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/models/racks.py` (+6 -5) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WE BE CLOSED AUTOMATICALLY. --> ### Fixes: #10176 <!-- Please include a summary of the proposed changes below. --> Fixes space utilization for racks: 1. empty rack now shows 0% 2. reserved rack utilization works correctly (previously was showing 50% of what it should). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:19:42 +01:00
adam closed this issue 2025-12-29 23:19:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13585