From 28d6e693e87629da49d518ec4fdb4595524653ba Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 15 Oct 2024 13:14:39 +0200 Subject: [PATCH] Fix return values in clean_items_cluster_register to progress on registration workflow Change-Id: Ibf6e5c5a2fab91abb3d38f1e19d02fdba43efa90 Signed-off-by: garciadeblas --- osm_lcm/odu_libs/cluster_mgmt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/osm_lcm/odu_libs/cluster_mgmt.py b/osm_lcm/odu_libs/cluster_mgmt.py index 98f308a..c088d10 100644 --- a/osm_lcm/odu_libs/cluster_mgmt.py +++ b/osm_lcm/odu_libs/cluster_mgmt.py @@ -430,6 +430,7 @@ async def clean_items_cluster_register(self, op_id, op_params, content): try: await self.clean_items(items) + return True, "OK" except Exception as e: return False, f"Error while cleaning items: {e}" -- 2.25.1