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:
@ -100,8 +100,8 @@ def update_connected_endpoints(instance, created, raw=False, **kwargs):
|
||||
# Examine type of first termination to determine object type (all must be the same)
|
||||
if isinstance(terms[0], PathEndpoint):
|
||||
create_cablepath(terms)
|
||||
# else:
|
||||
# rebuild_paths(terms)
|
||||
else:
|
||||
rebuild_paths(terms)
|
||||
# elif instance.status != instance._orig_status:
|
||||
# # We currently don't support modifying either termination of an existing Cable. (This
|
||||
# # may change in the future.) However, we do need to capture status changes and update
|
||||
|
Reference in New Issue
Block a user