diff options
author | Bin Yang <bin.yang@windriver.com> | 2018-11-27 12:45:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-11-27 12:45:54 +0000 |
commit | 6ad9989c37ddeeef7397dc576006c604b390afd1 (patch) | |
tree | 60b6ddb5c53bb780462b6eb0c09100460b6e631d | |
parent | 3f17e7c6f1af4fde67e2c7e0a041458045c6c2d2 (diff) | |
parent | 1d28a17869b71031287657798faea6ad8239405e (diff) |
Merge "Fix issue with keystone v2.0" into casablanca
-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) |