From: Dat Le Date: Fri, 4 Jun 2021 03:18:50 +0000 (+0700) Subject: Fix Bug 1556 - redundant input param in calling _check_or_add_scale_suboperation X-Git-Tag: v9.1.2^0 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FLCM.git;a=commitdiff_plain;h=07d2eb027934435d46dec5d7ec827808ced3ab1c Fix Bug 1556 - redundant input param in calling _check_or_add_scale_suboperation Change-Id: I21c9790cabed92fcdfa230f47250180f741c0434 Signed-off-by: Dat Le --- diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index 7738016..f1c3fa1 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -3897,7 +3897,7 @@ class NsLcm(LcmBase): # Pre-scale retry check: Check if this sub-operation has been executed before op_index = self._check_or_add_scale_suboperation( - db_nslcmop, nslcmop_id, vnf_index, vnf_config_primitive, primitive_params, 'PRE-SCALE') + db_nslcmop, vnf_index, vnf_config_primitive, primitive_params, 'PRE-SCALE') if op_index == self.SUBOPERATION_STATUS_SKIP: # Skip sub-operation result = 'COMPLETED' @@ -4162,7 +4162,7 @@ class NsLcm(LcmBase): # Post-scale retry check: Check if this sub-operation has been executed before op_index = self._check_or_add_scale_suboperation( - db_nslcmop, nslcmop_id, vnf_index, vnf_config_primitive, primitive_params, 'POST-SCALE') + db_nslcmop, vnf_index, vnf_config_primitive, primitive_params, 'POST-SCALE') if op_index == self.SUBOPERATION_STATUS_SKIP: # Skip sub-operation result = 'COMPLETED'