From: David Garcia Date: Tue, 25 Aug 2020 11:17:25 +0000 (+0200) Subject: Fix removing the vnf relations from the right list X-Git-Tag: release-v9.0-start~31 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=092afbd1a614512dc15c7614ef79fcda011e34ba;p=osm%2FLCM.git Fix removing the vnf relations from the right list Change-Id: Ib5fadaa6ad266d1756969a01ce34f82389c48d61 Signed-off-by: David Garcia --- diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index ab224cb..1f97761 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -2375,11 +2375,11 @@ class NsLcm(LcmBase): if vca.get('vdu_id') == r.get('entities')[0].get('id'): if vca_status.get('status') == 'BROKEN': # peer broken: remove relation from list - ns_relations.remove(r) + vnf_relations.remove(r) if vca.get('vdu_id') == r.get('entities')[1].get('id'): if vca_status.get('status') == 'BROKEN': # peer broken: remove relation from list - ns_relations.remove(r) + vnf_relations.remove(r) except Exception: # ignore pass