From: garciadeblas Date: Tue, 15 Oct 2024 11:14:39 +0000 (+0200) Subject: Fix return values in clean_items_cluster_register to progress on registration workflow X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=28d6e693e87629da49d518ec4fdb4595524653ba;p=osm%2FLCM.git Fix return values in clean_items_cluster_register to progress on registration workflow Change-Id: Ibf6e5c5a2fab91abb3d38f1e19d02fdba43efa90 Signed-off-by: garciadeblas --- 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}"