mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-13 02:58:17 -06:00
Break infinite loop by removing redundant update
This commit is contained in:
parent
a8c783bd1c
commit
b8f8ae4a58
@ -16,7 +16,3 @@ def update_circuit(instance, **kwargs):
|
||||
for circuit in circuits:
|
||||
circuit.last_updated = time
|
||||
circuit.save()
|
||||
|
||||
# Update all endpoints affected by this cable
|
||||
endpoints = instance.circuit.get_related_endpoints()
|
||||
update_endpoints(endpoints)
|
||||
|
Loading…
Reference in New Issue
Block a user