summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParul Sohal <psohal@bu.edu>2018-07-02 19:30:59 +0000
committerParul Sohal <psohal@bu.edu>2018-07-02 20:10:01 +0000
commitfd5e5d3e42272b6c109aa9f32399b43b93517355 (patch)
tree465697995cf57bc77e15ff6fe2d8607e2421343c
parent4b5d77da37316594364e2137210b7e6abe9f9761 (diff)
Changed deprecated API call
In auth.py,changed /OS-FEDERATION/projects to /auth/projects Change-Id: Ie763fd328c3c763f19acdecaf54dd93e8ac20961
Notes
Notes (review): Code-Review+2: Kristi Nikolla <kristi@nikolla.me> Workflow+1: Kristi Nikolla <kristi@nikolla.me> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 03 Jul 2018 00:22:06 +0000 Reviewed-on: https://review.openstack.org/579674 Project: openstack/mixmatch Branch: refs/heads/master
-rw-r--r--mixmatch/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mixmatch/auth.py b/mixmatch/auth.py
index ffb7ba7..22ae23d 100644
--- a/mixmatch/auth.py
+++ b/mixmatch/auth.py
@@ -99,7 +99,7 @@ def get_projects_at_sp(service_provider, user_token):
99 conf = config.service_providers.get(CONF, service_provider) 99 conf = config.service_providers.get(CONF, service_provider)
100 unscoped_session = get_unscoped_sp_auth(service_provider, user_token) 100 unscoped_session = get_unscoped_sp_auth(service_provider, user_token)
101 r = json.loads(str(unscoped_session.get( 101 r = json.loads(str(unscoped_session.get(
102 conf.auth_url + "/OS-FEDERATION/projects").text)) 102 conf.auth_url + "/auth/projects").text))
103 return [project[u'id'] for project in r[u'projects']] 103 return [project[u'id'] for project in r[u'projects']]
104 104
105 105