summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/api/openstack/auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/openstack/auth.py b/nova/api/openstack/auth.py
index e220ffcc2..774426d58 100644
--- a/nova/api/openstack/auth.py
+++ b/nova/api/openstack/auth.py
@@ -59,7 +59,8 @@ class AuthMiddleware(wsgi.Middleware):
try:
account = req.headers["X-Auth-Project-Id"]
except KeyError:
- # FIXME: It needed only for compatibility
+ # FIXME(usrleon): It needed only for compatibility
+ # while osapi clients don't use this header
accounts = self.auth.get_projects(user=user)
if accounts:
account = accounts[0]