- self.db.del_one("k8sclusters", {"_id": k8scluster_id})
- else:
- raise LcmException("An error happened during the reset of the k8s cluster '{}'".format(k8scluster_id))
- # if not cluster_removed:
- # raise Exception("K8scluster was not properly removed")
+ self.db.del_one("k8sclusters", {"_id": k8scluster_id})
+ db_k8scluster_update = {}