diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-03-12 17:02:50 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-03-12 17:02:50 +0000 |
| commit | e9b3d432d3f85de330a2916c802c831ad8bc85ae (patch) | |
| tree | cd0d7ff6edb257be97ff35ca27fa311eb3377d01 | |
| parent | 9a227e1970a507c312025d9e092577ae82662e42 (diff) | |
| parent | deb71cf6643efbe47b383565f6dc5d346ada29a4 (diff) | |
| download | nova-e9b3d432d3f85de330a2916c802c831ad8bc85ae.tar.gz nova-e9b3d432d3f85de330a2916c802c831ad8bc85ae.tar.xz nova-e9b3d432d3f85de330a2916c802c831ad8bc85ae.zip | |
Merge "Add a serializer for os-quota-sets/defaults."
| -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()) |
