From 1d28a17869b71031287657798faea6ad8239405e Mon Sep 17 00:00:00 2001 From: bharath Date: Fri, 16 Nov 2018 23:06:52 +0530 Subject: Fix issue with keystone v2.0 Issue-ID: MULTICLOUD-386 Change-Id: Ib19ad639c76754fa7a9f6efea449ab5df17afada Signed-Off-By: Bharath Thiruveedula (cherry picked from commit cace0c0c178bb6233170189da885dc06dc4022f6) --- share/newton_base/openoapi/tenants.py | 4 ++-- 1 file 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) -- cgit 1.2.3-korg