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=refs%2Fchanges%2F38%2F14638%2F1;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}"