Merge "Use TENANT_ID instead of TENANT for project_id"
This commit is contained in:
commit
227f569be4
@ -41,7 +41,7 @@ class NovaKeystoneContext(wsgi.Middleware):
|
||||
return webob.exc.HTTPUnauthorized()
|
||||
# get the roles
|
||||
roles = [r.strip() for r in req.headers.get('X_ROLE', '').split(',')]
|
||||
project_id = req.headers['X_TENANT']
|
||||
project_id = req.headers['X_TENANT_ID']
|
||||
# Get the auth token
|
||||
auth_token = req.headers.get('X_AUTH_TOKEN',
|
||||
req.headers.get('X_STORAGE_TOKEN'))
|
||||
|
Loading…
Reference in New Issue
Block a user