summaryrefslogtreecommitdiffstats
path: root/share/newton_base
diff options
context:
space:
mode:
Diffstat (limited to 'share/newton_base')
-rw-r--r--share/newton_base/registration/registration.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/newton_base/registration/registration.py b/share/newton_base/registration/registration.py
index 53893b36..5656c6b6 100644
--- a/share/newton_base/registration/registration.py
+++ b/share/newton_base/registration/registration.py
@@ -463,7 +463,7 @@ class RegistryHelper(MultiCloudAAIHelper):
self._update_resoure(
cloud_owner, cloud_region_id, tenant['id'],
tenant_info, "tenant")
- return (0, "succeed")
+ return 0, "succeed"
except VimDriverNewtonException as e:
self._logger.error(
"VimDriverNewtonException: status:%s, response:%s"
@@ -489,6 +489,8 @@ class RegistryHelper(MultiCloudAAIHelper):
cloud_owner, cloud_region_id, tenant['id'],
tenant_info, "tenant")
+ return 0, "succeed"
+
except Exception as ex:
self._logger.error(traceback.format_exc())
return (