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

Update & restore rebuild_paths()

This commit is contained in:
jeremystretch
2022-05-10 10:30:58 -04:00
parent 5667a9c456
commit d89f067c00
3 changed files with 12 additions and 11 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])