Fix return values in clean_items_cluster_register to progress on registration workflow 38/14638/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 15 Oct 2024 11:14:39 +0000 (13:14 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 15 Oct 2024 11:14:39 +0000 (13:14 +0200)
Change-Id: Ibf6e5c5a2fab91abb3d38f1e19d02fdba43efa90
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_lcm/odu_libs/cluster_mgmt.py

index 98f308a..c088d10 100644 (file)
@@ -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}"