diff options
| author | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2012-03-12 11:46:33 -0500 |
|---|---|---|
| committer | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2012-03-12 11:46:33 -0500 |
| commit | deb71cf6643efbe47b383565f6dc5d346ada29a4 (patch) | |
| tree | 797708d0787bade61dd2d7c723809aeb9df45e6d /nova/api | |
| parent | b9eaccb855651cd5b13568ce91436ae0cb7d98b1 (diff) | |
| download | nova-deb71cf6643efbe47b383565f6dc5d346ada29a4.tar.gz nova-deb71cf6643efbe47b383565f6dc5d346ada29a4.tar.xz nova-deb71cf6643efbe47b383565f6dc5d346ada29a4.zip | |
Add a serializer for os-quota-sets/defaults.
This fixes bug 953182.
Change-Id: I273a1d3559a8218a0b1e1f3d973e55d079e92062
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/compute/contrib/quotas.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/openstack/compute/contrib/quotas.py b/nova/api/openstack/compute/contrib/quotas.py index ce466af3f..196df0ea0 100644 --- a/nova/api/openstack/compute/contrib/quotas.py +++ b/nova/api/openstack/compute/contrib/quotas.py @@ -84,6 +84,7 @@ class QuotaSetsController(object): raise webob.exc.HTTPForbidden() return {'quota_set': quota.get_project_quotas(context, project_id)} + @wsgi.serializers(xml=QuotaTemplate) def defaults(self, req, id): authorize(req.environ['nova.context']) return self._format_quota_set(id, quota._get_default_quotas()) |
