diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2010-12-23 21:48:14 +0000 |
|---|---|---|
| committer | Trey Morris <trey.morris@rackspace.com> | 2010-12-23 21:48:14 +0000 |
| commit | 1c26d2b2ce824dbc64525eea699efbfa8bf04617 (patch) | |
| tree | 49c19fed851402ef580c86483964bec56f44f386 /nova | |
| parent | 8e1122997867a16c161954004b5f1722282a97ef (diff) | |
| download | nova-1c26d2b2ce824dbc64525eea699efbfa8bf04617.tar.gz nova-1c26d2b2ce824dbc64525eea699efbfa8bf04617.tar.xz nova-1c26d2b2ce824dbc64525eea699efbfa8bf04617.zip | |
updated since dietz moved the limited function
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/api/openstack/images.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/images.py b/nova/api/openstack/images.py index 4f16b0ed4..132afc5fc 100644 --- a/nova/api/openstack/images.py +++ b/nova/api/openstack/images.py @@ -106,7 +106,7 @@ class Controller(wsgi.Controller): def index(self, req): """Return all public images in brief""" items = self._service.index(req.environ['nova.context']) - items = nova.api.openstack.limited(items, req) + items = common.limited(images, req) items = [_entity_inst(item) for item in items] return dict(images=items) @@ -116,7 +116,7 @@ class Controller(wsgi.Controller): items = self._service.detail(req.environ['nova.context']) except NotImplementedError: items = self._service.index(req.environ['nova.context']) - items = nova.api.openstack.limited(items, req) + items = common.limited(images, req) items = [_entity_detail(item) for item in items] return dict(images=items) |
