1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Refactor CablePath.from_origin()

This commit is contained in:
jeremystretch
2022-05-10 09:53:55 -04:00
parent b44bfa1aa6
commit 5667a9c456
3 changed files with 100 additions and 97 deletions

View File

@@ -23,5 +23,5 @@ def rebuild_cablepaths(instance, raw=False, **kwargs):
"""
if not raw:
peer_termination = instance.get_peer_termination()
if peer_termination:
rebuild_paths(peer_termination)
# if peer_termination:
# rebuild_paths(peer_termination)