Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error) 06/13306/2
authork4.rahul <rahul.k4@tataelxsi.co.in>
Thu, 27 Apr 2023 11:08:28 +0000 (16:38 +0530)
committercubag <gcuba@whitestack.com>
Wed, 3 May 2023 00:26:52 +0000 (02:26 +0200)
Coverity fix for CWE 398: 7PK - Code Quality (137908 Copy-paste error)

Change-Id: I9e390dd01ff91d3525f327170e5fcd8074dc3a2f
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
osm_lcm/vim_sdn.py

index ea25c2b..588aba1 100644 (file)
@@ -1366,7 +1366,7 @@ class K8sClusterLcm(LcmBase):
                 db_k8scluster_update["_admin.helm-chart.operationalState"] = "DISABLED"
 
             if k8s_h3c_id:
-                step = "Removing helm-chart-v3 '{}'".format(k8s_hc_id)
+                step = "Removing helm-chart-v3 '{}'".format(k8s_h3c_id)
                 uninstall_sw = (
                     deep_get(db_k8scluster, ("_admin", "helm-chart-v3", "created"))
                     or False