summaryrefslogtreecommitdiffstats
path: root/share/newton_base/openoapi/tenants.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/newton_base/openoapi/tenants.py')
-rw-r--r--share/newton_base/openoapi/tenants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/newton_base/openoapi/tenants.py b/share/newton_base/openoapi/tenants.py
index a8b97464..71439411 100644
--- a/share/newton_base/openoapi/tenants.py
+++ b/share/newton_base/openoapi/tenants.py
@@ -53,7 +53,7 @@ class Tenants(APIView):
sess = VimDriverUtils.get_session(vim)
- self.service['region_id'] = vim['openstack_region_id'] \
+ self.service['region_name'] = vim['openstack_region_id'] \
if vim.get('openstack_region_id') \
else vim['cloud_region_id']