Fix Bug 1556 - redundant input param in calling _check_or_add_scale_suboperation 49/10949/1 v10.0.0
authorDat Le <datle.it@gmail.com>
Thu, 3 Jun 2021 02:50:21 +0000 (09:50 +0700)
committerbravof <fbravo@whitestack.com>
Thu, 3 Jun 2021 14:57:14 +0000 (16:57 +0200)
Change-Id: I19e58252df4ba2dd18aa372d6043713866cae17b
Signed-off-by: Dat Le <datle.it@gmail.com>
(cherry picked from commit 586fe542e77b9d225ccfdc46d2fc9c96d8d2cd2b)

osm_lcm/ns.py

index 78c58f8..cb281e4 100644 (file)
@@ -5386,7 +5386,6 @@ 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,
@@ -5795,7 +5794,6 @@ 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,