Skip to content

Commit c8dfa58

Browse files
committed
Fix keystone client usage
The client includes /v3 in the URL.
1 parent 6bbe4ac commit c8dfa58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

os_capacity/data/users.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515

1616
def get_all(identity_client):
17-
response = identity_client.get("/v3/users").json()
17+
response = identity_client.get("/users").json()
1818
raw_users = response['users']
1919
return {u['id']: u['name'] for u in raw_users}
2020

2121

2222
def get_all_projects(identity_client):
23-
response = identity_client.get("/v3/projects").json()
23+
response = identity_client.get("/projects").json()
2424
raw_projects = response['projects']
2525
return {u['id']: u['name'] for u in raw_projects}

0 commit comments

Comments
 (0)