diff options
author | bharath <bharath_ves@hotmail.com> | 2018-11-16 23:06:52 +0530 |
---|---|---|
committer | bharath <bharath_ves@hotmail.com> | 2018-11-16 23:08:05 +0530 |
commit | cace0c0c178bb6233170189da885dc06dc4022f6 (patch) | |
tree | 60b6ddb5c53bb780462b6eb0c09100460b6e631d | |
parent | d17138507974a8bd8bfcda71f1b34b37f336aa2e (diff) |
Fix issue with keystone v2.0
Issue-ID: MULTICLOUD-386
Change-Id: Ib19ad639c76754fa7a9f6efea449ab5df17afada
Signed-Off-By: Bharath Thiruveedula <bharath_ves@hotmail.com>
-rw-r--r-- | share/newton_base/openoapi/tenants.py | 4 |
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) |