From 71e6547b727345292756566ad56d7a839afae280 Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke@nordu.net> Date: Thu, 13 Apr 2023 16:21:44 +0200 Subject: [PATCH] update comment a bit --- inventory_provider/tasks/worker.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inventory_provider/tasks/worker.py b/inventory_provider/tasks/worker.py index c695e646..a3b96c6d 100644 --- a/inventory_provider/tasks/worker.py +++ b/inventory_provider/tasks/worker.py @@ -1124,8 +1124,9 @@ def transform_ims_data(data): elif 'sid' in details: if len(circuits) > 1: if port_circuit != circ: - # we don't know which circuit - # to give the SID in this case, so skip + # if this is not the physical port circuit + # related to this port, then we don't want to + # assign the SID to this circuit, so skip. continue # assign the SID from the port to this circuit -- GitLab