summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbharath <bharath_ves@hotmail.com>2018-11-16 23:06:52 +0530
committerBin Yang <bin.yang@windriver.com>2018-11-27 12:40:05 +0000
commit1d28a17869b71031287657798faea6ad8239405e (patch)
tree51588613e3aa2feb0e3a89c6632e26c4f2ecfd31 /share
parent69c7fffdcc22bc47a84775a7214b0495efa04baf (diff)
Fix issue with keystone v2.0
Issue-ID: MULTICLOUD-386 Change-Id: Ib19ad639c76754fa7a9f6efea449ab5df17afada Signed-Off-By: Bharath Thiruveedula <bharath_ves@hotmail.com> (cherry picked from commit cace0c0c178bb6233170189da885dc06dc4022f6)
Diffstat (limited to 'share')
-rw-r--r--share/newton_base/openoapi/tenants.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/newton_base/openoapi/tenants.py b/share/newton_base/openoapi/tenants.py
index 71439411..a048a36e 100644
--- a/share/newton_base/openoapi/tenants.py
+++ b/share/newton_base/openoapi/tenants.py
@@ -48,8 +48,8 @@ class Tenants(APIView):
vim = VimDriverUtils.get_vim_info(vimid)
req_resouce = "/projects"
- if '/v2' in vim["url"]:
- req_resouce = "/v2.0/tenants"
+ if '/v2.0' in vim["url"]:
+ req_resouce = "/tenants"
sess = VimDriverUtils.get_session(vim)