diff options
author | Brian Waldon <bcwaldon@gmail.com> | 2012-06-27 11:00:14 -0700 |
---|---|---|
committer | Brian Waldon <bcwaldon@gmail.com> | 2012-06-27 15:20:54 -0700 |
commit | 2861952ef7acd0d7cff8f039ee14105f12bea717 (patch) | |
tree | c6deb94c0f17e7ac7d44ecc51dcdff3fb633dd12 /nova/image/s3.py | |
parent | 0ca1c1943e6a07e7a107f38f56227768022de3dc (diff) | |
download | nova-2861952ef7acd0d7cff8f039ee14105f12bea717.tar.gz nova-2861952ef7acd0d7cff8f039ee14105f12bea717.tar.xz nova-2861952ef7acd0d7cff8f039ee14105f12bea717.zip |
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/image/s3.py')
-rw-r--r-- | nova/image/s3.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/nova/image/s3.py b/nova/image/s3.py index 318847791..df2758b3a 100644 --- a/nova/image/s3.py +++ b/nova/image/s3.py @@ -136,12 +136,6 @@ class S3ImageService(object): image = self.service.update(context, image_uuid, metadata, data) return self._translate_uuid_to_id(context, image) - def index(self, context): - #NOTE(bcwaldon): sort asc to make sure we assign lower ids - # to older images - images = self.service.index(context, sort_dir='asc') - return self._translate_uuids_to_ids(context, images) - def detail(self, context, **kwargs): #NOTE(bcwaldon): sort asc to make sure we assign lower ids # to older images |