Fix Pre and Post Scale operations
Change-Id: If865dec846b0d28e31f272d512cb47ad62b2948a
Signed-off-by: limon <alimonj@indra.es>
diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py
index ca85661..7f73c19 100644
--- a/osm_lcm/ns.py
+++ b/osm_lcm/ns.py
@@ -3896,7 +3896,7 @@
vdu_count_index=None,
ee_descriptor_id=ee_descriptor_id)
result, result_detail = await self._ns_execute_primitive(
- ee_id, primitive_name, primitive_params, vca_type)
+ ee_id, primitive_name, primitive_params, vca_type=vca_type)
self.logger.debug(logging_text + "vnf_config_primitive={} Done with result {} {}".format(
vnf_config_primitive, result, result_detail))
# Update operationState = COMPLETED | FAILED
@@ -4161,7 +4161,7 @@
vdu_count_index=None,
ee_descriptor_id=ee_descriptor_id)
result, result_detail = await self._ns_execute_primitive(
- ee_id, primitive_name, primitive_params, vca_type)
+ ee_id, primitive_name, primitive_params, vca_type=vca_type)
self.logger.debug(logging_text + "vnf_config_primitive={} Done with result {} {}".format(
vnf_config_primitive, result, result_detail))
# Update operationState = COMPLETED | FAILED