From 5705ed31c013e5cab19c2c01ac4429ec2fcd04bd Mon Sep 17 00:00:00 2001 From: tierno Date: Thu, 5 Dec 2019 15:04:39 +0000 Subject: [PATCH] fix 952 key error kdu_name Change-Id: I1cb111825e84d216f469fb320806413009705c6d Signed-off-by: tierno --- 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 8470086..a76c121 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -2373,7 +2373,7 @@ class NsLcm(LcmBase): break elif kdu_name: self.logger.debug(logging_text + "Checking actions in KDUs") - kdur = next((x for x in db_vnfr["kdur"] if x["kdu_name"] == kdu_name), None) + kdur = next((x for x in db_vnfr["kdur"] if x["kdu-name"] == kdu_name), None) desc_params = self._format_additional_params(kdur.get("additionalParams")) or {} if primitive_params: desc_params.update(primitive_params) -- 2.25.1