diff options
| author | Jake Dahn <jake@markupisart.com> | 2011-08-16 09:15:14 -0700 |
|---|---|---|
| committer | Jake Dahn <jake@markupisart.com> | 2011-08-16 09:15:14 -0700 |
| commit | b85deda977ff46722a4461aca98f0378fd10ee1b (patch) | |
| tree | e3cccd0f9aa3dbd0cf6289cd0ac0f409b3a3a66b /nova/api | |
| parent | 6a5b9831c4b32053996a99307b7303ca851bf508 (diff) | |
| download | nova-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.py | 4 |
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): |
