Bug 1306 solved
[osm/LCM.git] / osm_lcm / ns.py
index a90f4e8..8cde03a 100644 (file)
@@ -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,