summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorBrian Waldon <bcwaldon@gmail.com>2012-06-27 11:00:14 -0700
committerBrian Waldon <bcwaldon@gmail.com>2012-06-27 15:20:54 -0700
commit2861952ef7acd0d7cff8f039ee14105f12bea717 (patch)
treec6deb94c0f17e7ac7d44ecc51dcdff3fb633dd12 /nova/api
parent0ca1c1943e6a07e7a107f38f56227768022de3dc (diff)
Remove GlanceImageService.index in favor of detail
Since there is no difference in index vs detail in the v2 API, let's drop that as a requirement in the GlanceImageService. Related to bp integrate-python-glanceclient Change-Id: If98cf68e7e18fa78a2f9c09526ca9e80d2e27c1b
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/compute/images.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/compute/images.py b/nova/api/openstack/compute/images.py
index 9879c7d25..35d21da60 100644
--- a/nova/api/openstack/compute/images.py
+++ b/nova/api/openstack/compute/images.py
@@ -177,8 +177,8 @@ class Controller(wsgi.Controller):
params[key] = val
try:
- images = self._image_service.index(context, filters=filters,
- **page_params)
+ images = self._image_service.detail(context, filters=filters,
+ **page_params)
except exception.Invalid as e:
raise webob.exc.HTTPBadRequest(explanation=str(e))
return self._view_builder.index(req, images)