Manage situations where ODU workflows fail before it is launched (empty workflow_name)
Change-Id: I63a2113eee3626b6bc018519ca324b95ada1dc73
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/osm_lcm/odu_libs/vim_mgmt.py b/osm_lcm/odu_libs/vim_mgmt.py
index edb16ab..5569f89 100644
--- a/osm_lcm/odu_libs/vim_mgmt.py
+++ b/osm_lcm/odu_libs/vim_mgmt.py
@@ -93,7 +93,7 @@
api_plural="workflows",
api_version="v1alpha1",
)
- return workflow_name
+ return True, workflow_name
async def delete_cloud_credentials(self, op_id, op_params, content):
@@ -136,7 +136,7 @@
api_plural="workflows",
api_version="v1alpha1",
)
- return workflow_name
+ return True, workflow_name
async def update_cloud_credentials(self, op_id, op_params, content):
@@ -207,7 +207,7 @@
api_plural="workflows",
api_version="v1alpha1",
)
- return workflow_name
+ return True, workflow_name
async def clean_items_cloud_credentials_create(self, op_id, op_params, content):