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: release-v15.0-start~12 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=556f5c761025fa0186e6997a8e51bc0d89829d10;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"),