From: Pedro Escaleira Date: Thu, 20 Apr 2023 14:22:16 +0000 (+0100) Subject: Bug 2237 fixed: added a continue to the vdur verification in the update_ns_vld_target... X-Git-Tag: v14.0.1~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=855b063fd43e0f71f67cfcce008152cedc0da67a;p=osm%2FLCM.git Bug 2237 fixed: added a continue to the vdur verification in the update_ns_vld_target function Change-Id: I2919d846d35a115e9b884ba333a7501b780d1f5b Signed-off-by: Pedro Escaleira --- diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index 7a73326..a3cdb74 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -904,7 +904,7 @@ class NsLcm(LcmBase): ) vdur = next((vdur for vdur in target_vnf.get("vdur", ())), None) if not vdur: - return + continue for a_index, a_vld in enumerate(target["ns"]["vld"]): target_vld = find_in_list( get_iterable(vdur, "interfaces"),