Browse Source

Changed deprecated API call

In auth.py,changed /OS-FEDERATION/projects to /auth/projects

Change-Id: Ie763fd328c3c763f19acdecaf54dd93e8ac20961
changes/74/579674/2
Parul Sohal 11 months ago
parent
commit
fd5e5d3e42
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      mixmatch/auth.py

+ 1
- 1
mixmatch/auth.py View File

@@ -99,7 +99,7 @@ def get_projects_at_sp(service_provider, user_token):
99 99
     conf = config.service_providers.get(CONF, service_provider)
100 100
     unscoped_session = get_unscoped_sp_auth(service_provider, user_token)
101 101
     r = json.loads(str(unscoped_session.get(
102
-        conf.auth_url + "/OS-FEDERATION/projects").text))
102
+        conf.auth_url + "/auth/projects").text))
103 103
     return [project[u'id'] for project in r[u'projects']]
104 104
 
105 105
 

Loading…
Cancel
Save