From 18cb3cb207d63cf1b13168f79205623030a543fa Mon Sep 17 00:00:00 2001 From: lloretgalleg Date: Thu, 10 Dec 2020 14:21:10 +0000 Subject: [PATCH] Bug 1306 solved Corrected problem introduced at commit aae391fc that changed parameters to deploy ee for helm Change-Id: I33e5971e5620d8d37134cbb2dfa499f5eaa17bc4 Signed-off-by: lloretgalleg --- osm_lcm/ns.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index a90f4e8..8cde03a 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -1202,7 +1202,7 @@ class NsLcm(LcmBase): ) step = "create execution environment" - self.logger.debug(logging_text + step) + self.logger.debug(logging_text + step) ee_id = None credentials = None @@ -1215,15 +1215,16 @@ class NsLcm(LcmBase): cloud_name=vca_k8s_cloud, credential_name=vca_k8s_cloud_credential, ) - elif vca_type == "helm" or vca_type == "helm-v3": + elif vca_type == "helm" or vca_type == "helm-v3": ee_id, credentials = await self.vca_map[vca_type].create_execution_environment( namespace=namespace, reuse_ee_id=ee_id, db_dict=db_dict, - cloud_name=vca_cloud, - credential_name=vca_cloud_credential, + config=osm_config, + artifact_path=artifact_path, + vca_type=vca_type ) - else: + else: ee_id, credentials = await self.vca_map[vca_type].create_execution_environment( namespace=namespace, reuse_ee_id=ee_id, -- 2.17.1