Skip to content

Commit a6cd2d9

Browse files
enolfcalvarolopez
authored andcommitted
Use the public keystone interface
This should not have any consequences on the functionality but avoids having to deal with endpoints that are usually not accessible from the outside world (the admin one). The use of keystone is mostly to get the user list so no real admin operations are done.
1 parent 540b4e7 commit a6cd2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caso/keystone_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ def get_session(conf, project):
4141
def get_client(conf, project):
4242
"""Return a client for Keystone."""
4343
sess = get_session(conf, project)
44-
return ks_client_v3.Client(session=sess)
44+
return ks_client_v3.Client(session=sess, interface='public')

0 commit comments

Comments
 (0)