Change-Id: I1387104d0e91bf997137d16d00d69f43623d5edf
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
async def delete(self, op_id, op_params, content):
self.logger.info("cluster delete Enter")
db_cluster = content["cluster"]
async def delete(self, op_id, op_params, content):
self.logger.info("cluster delete Enter")
db_cluster = content["cluster"]
+ if db_cluster["created"] == "false":
+ return await self.deregister(op_id, op_params, content)
_, workflow_name = await self.odu.launch_workflow(
"delete_cluster", op_id, op_params, content
_, workflow_name = await self.odu.launch_workflow(
"delete_cluster", op_id, op_params, content