summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLvov Maxim <usrleon@gmail.com>2011-06-03 21:13:16 +0400
committerLvov Maxim <usrleon@gmail.com>2011-06-03 21:13:16 +0400
commita1ea80431ea46aea5ec67cf152c7a7af5fd5aeac (patch)
tree15e4d356d35d55d49731501d71d34de3f9a75b33
parent5b45d5477cfff946ada581676db54fb254be6522 (diff)
fix comment
-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]