summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newton/newton/requests/views/tenants.py4
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)