Use TENANT_ID instead of TENANT for project_id

Change-Id: Ia35dd1d1041a8a9f14e4f54e2483d3af9c847904
Cc: stable-maintainers
This commit is contained in:
Vishvananda Ishaya 2011-11-05 17:29:21 -07:00
parent 37ff5b6883
commit d63875b45b
1 changed files with 1 additions and 1 deletions

View File

@ -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'))