diff options
author | Bin Yang <bin.yang@windriver.com> | 2017-03-14 13:42:44 +0800 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2017-03-14 13:42:44 +0800 |
commit | 52a29ab85d562416de49b8baf8c3868b27ad61ca (patch) | |
tree | 9b0efe12d0a70770272a3e4cdf4874e358490056 /newton | |
parent | cb1f27e5b5391636ce9c9eaead911455077bcc1c (diff) |
Fix tenants API issue for keystone v3
Change-Id: I68db478cebdd036982000298ad36f128dba618a2
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'newton')
-rw-r--r-- | newton/newton/requests/views/tenants.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newton/newton/requests/views/tenants.py b/newton/newton/requests/views/tenants.py index e9d5428f..f94140cb 100644 --- a/newton/newton/requests/views/tenants.py +++ b/newton/newton/requests/views/tenants.py @@ -44,9 +44,9 @@ class Tenants(APIView): if '/v2' in vim["url"]: req_resouce = "/v2.0/tenants" elif '/v3' in vim["url"]: - req_resouce = "/v3/projects" + req_resouce = "/projects" else: - req_resouce = "/v3/projects" + req_resouce = "/projects" sess = VimDriverUtils.get_session(vim) resp = sess.get(req_resouce, endpoint_filter=self.service) |