summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorMark Washenberger <mark.washenberger@rackspace.com>2011-05-16 14:50:07 -0400
committerMark Washenberger <mark.washenberger@rackspace.com>2011-05-16 14:50:07 -0400
commit8cf2087747ab87fec0e1f7cc3d57ed1fa5065749 (patch)
tree866f0439e099989e9428a5eddce8ad4a6b9e09a8 /nova
parentb1e14b1451a860871c20e8a5a733e89c72bdccd5 (diff)
downloadnova-8cf2087747ab87fec0e1f7cc3d57ed1fa5065749.tar.gz
nova-8cf2087747ab87fec0e1f7cc3d57ed1fa5065749.tar.xz
nova-8cf2087747ab87fec0e1f7cc3d57ed1fa5065749.zip
add a todo
Diffstat (limited to 'nova')
-rw-r--r--nova/api/openstack/limits.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/api/openstack/limits.py b/nova/api/openstack/limits.py
index 47bc238f1..f30c9ec59 100644
--- a/nova/api/openstack/limits.py
+++ b/nova/api/openstack/limits.py
@@ -64,7 +64,9 @@ class LimitsController(common.OpenstackController):
"""
Return all global and rate limit information.
"""
- abs_limits = {}
+ # TODO(alex.meade) make this work
+ project_quota = quota.get_project_quota(...)
+ abs_limits = project_quota.limits
rate_limits = req.environ.get("nova.limits", [])
builder = self._get_view_builder(req)