fix minor error at k8scluster helm v3 deletion 04/10004/3
authortierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 18 Nov 2020 12:47:52 +0000 (12:47 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 19 Nov 2020 15:20:14 +0000 (16:20 +0100)
Change-Id: I842ec05cbdd221599eb8b5e458f3e5b8131a08b1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_lcm/vim_sdn.py

index a44aa9b..0a21eaa 100644 (file)
@@ -1104,7 +1104,7 @@ class K8sClusterLcm(LcmBase):
             if k8s_h3c_id:
                 step = "Removing helm-chart-v3 '{}'".format(k8s_hc_id)
                 uninstall_sw = deep_get(db_k8scluster, ("_admin", "helm-chart-v3", "created")) or False
-                cluster_removed = await self.helm3_k8scluster.reset(cluster_uuid=k8s_hc_id, uninstall_sw=uninstall_sw)
+                cluster_removed = await self.helm3_k8scluster.reset(cluster_uuid=k8s_h3c_id, uninstall_sw=uninstall_sw)
                 db_k8scluster_update["_admin.helm-chart-v3.id"] = None
                 db_k8scluster_update["_admin.helm-chart-v3.operationalState"] = "DISABLED"