summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--windriver/titanium_cloud/registration/views/registration.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/windriver/titanium_cloud/registration/views/registration.py b/windriver/titanium_cloud/registration/views/registration.py
index 57888456..c5620618 100644
--- a/windriver/titanium_cloud/registration/views/registration.py
+++ b/windriver/titanium_cloud/registration/views/registration.py
@@ -262,7 +262,8 @@ class APIv1Registry(newton_registration.Registry):
self._logger.info("create a cloud region: %s,%s,%s" % (cloud_owner,gen_cloud_region_id,regionid))
self._update_cloud_region(cloud_owner, gen_cloud_region_id, regionid, viminfo)
- super(APIv1Registry, self).post(request, vimid)
+ new_vimid = extsys.encode_vim_id(cloud_owner, gen_cloud_region_id)
+ super(APIv1Registry, self).post(request, new_vimid)
# update the specified region