summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJake Dahn <jake@markupisart.com>2011-08-16 09:15:14 -0700
committerJake Dahn <jake@markupisart.com>2011-08-16 09:15:14 -0700
commitb85deda977ff46722a4461aca98f0378fd10ee1b (patch)
treee3cccd0f9aa3dbd0cf6289cd0ac0f409b3a3a66b /nova/api
parent6a5b9831c4b32053996a99307b7303ca851bf508 (diff)
downloadnova-b85deda977ff46722a4461aca98f0378fd10ee1b.tar.gz
nova-b85deda977ff46722a4461aca98f0378fd10ee1b.tar.xz
nova-b85deda977ff46722a4461aca98f0378fd10ee1b.zip
defaults now is referred to using a tenant
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/contrib/quotas.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/contrib/quotas.py b/nova/api/openstack/contrib/quotas.py
index 87046063a..459b71dfd 100644
--- a/nova/api/openstack/contrib/quotas.py
+++ b/nova/api/openstack/contrib/quotas.py
@@ -68,8 +68,8 @@ class QuotaSetsController(object):
return webob.Response(status_int=403)
return {'quota_set': quota.get_project_quotas(context, project_id)}
- def defaults(self, req):
- return self._format_quota_set('defaults', quota._get_default_quotas())
+ def defaults(self, req, id):
+ return self._format_quota_set(id, quota._get_default_quotas())
class Quotas(extensions.ExtensionDescriptor):