summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-11-27 12:45:54 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-27 12:45:54 +0000
commit6ad9989c37ddeeef7397dc576006c604b390afd1 (patch)
tree60b6ddb5c53bb780462b6eb0c09100460b6e631d
parent3f17e7c6f1af4fde67e2c7e0a041458045c6c2d2 (diff)
parent1d28a17869b71031287657798faea6ad8239405e (diff)
Merge "Fix issue with keystone v2.0" into casablanca
-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)