Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #14241, Fixes #13922: Update the CableRender #14750

Merged
merged 3 commits into from
Apr 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove dangling logging message used during development
  • Loading branch information
Moritz Geist committed Jan 9, 2024
commit ced44832f75913f93a7768e9ee001f1e313bb545
4 changes: 0 additions & 4 deletions netbox/dcim/svg/cables.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,6 @@ def draw_terminations(self, terminations, parent_object_nodes):
for parent in parent_object_nodes:
parent_terms = [term for term in terminations if term.parent_object == parent.object]

if len(parent_terms) == 0:
self.logger.warn(f"No Parent Terminations? {parent.object.name}")
continue

# Width and offset(position) for each termination box
width = parent.box['width'] / len(parent_terms)
offset_x = parent.box['x']
Expand Down