mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#9102: Enable creating terminations in conjunction with cables via REST API
This commit is contained in:
@ -79,7 +79,7 @@ def update_connected_endpoints(instance, created, raw=False, **kwargs):
|
||||
return
|
||||
|
||||
# Update cable paths if new terminations have been set
|
||||
if hasattr(instance, 'a_terminations') or hasattr(instance, 'b_terminations'):
|
||||
if instance._terminations_modified:
|
||||
a_terminations = []
|
||||
b_terminations = []
|
||||
for t in instance.terminations.all():
|
||||
|
Reference in New Issue
Block a user