summaryrefslogtreecommitdiffstats
path: root/nova/image
diff options
context:
space:
mode:
authorWilliam Wolf <throughnothing@gmail.com>2011-06-01 10:00:15 -0400
committerWilliam Wolf <throughnothing@gmail.com>2011-06-01 10:00:15 -0400
commitb8f2f8d63608d76af41fd218dddb955bdc656354 (patch)
tree7c385de4fafc818656eb267431fb99f7e513e360 /nova/image
parent59499f125a0cdb260b6b34ee737debe9fd86cbfb (diff)
fix filtering tests
Diffstat (limited to 'nova/image')
-rw-r--r--nova/image/glance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/image/glance.py b/nova/image/glance.py
index 09b2240ab..06f546027 100644
--- a/nova/image/glance.py
+++ b/nova/image/glance.py
@@ -58,7 +58,7 @@ class GlanceImageService(service.BaseImageService):
else:
self.client = client
- def index(self, context, marker=None, limit=None, filters=None):
+ def index(self, context, filters=None, marker=None, limit=None):
"""Calls out to Glance for a list of images available."""
# NOTE(sirp): We need to use `get_images_detailed` and not
# `get_images` here because we need `is_public` and `properties`
@@ -73,7 +73,7 @@ class GlanceImageService(service.BaseImageService):
filtered.append(meta_subset)
return filtered
- def detail(self, context, marker=None, limit=None, filters=None):
+ def detail(self, context, filters=None, marker=None, limit=None):
"""Calls out to Glance for a list of detailed image information."""
filtered = []
image_metas = self.client.get_images_detailed(marker=marker,