From 556f5c761025fa0186e6997a8e51bc0d89829d10 Mon Sep 17 00:00:00 2001 From: Pedro Escaleira Date: Thu, 20 Apr 2023 15:22:16 +0100 Subject: [PATCH] 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 --- osm_lcm/ns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), -- 2.25.1