diff options
| author | Kei Masumoto <masumotok@nttdata.co.jp> | 2011-02-18 14:15:04 +0900 |
|---|---|---|
| committer | Kei Masumoto <masumotok@nttdata.co.jp> | 2011-02-18 14:15:04 +0900 |
| commit | d88d74c9a0a28e0ebd6cedf694753b9ee9decdac (patch) | |
| tree | 8f44c51cea4ff9ca171a4d7b133223956a166c26 /nova/image | |
| parent | ea5e1b141c787053bab273e127f986800cb1712b (diff) | |
fixed based on reviewer's comment.
1. erase wrapper function(remove/exists/mktempfile) from nova.utils.
2. nova-manage service describeresource(->describe_resource)
3. nova-manage service updateresource(->update_resource)
4. erase "my mistake print" statement
Additional changes are made at:
1. nova.image.s3.show
2. nova.compute.api.create
that's because instances cannot launched without this changes.
Diffstat (limited to 'nova/image')
| -rw-r--r-- | nova/image/s3.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/image/s3.py b/nova/image/s3.py index 71304cdd6..14135a1ee 100644 --- a/nova/image/s3.py +++ b/nova/image/s3.py @@ -94,7 +94,7 @@ class S3ImageService(service.BaseImageService): if FLAGS.connection_type == 'fake': return {'imageId': 'bar'} result = self.index(context) - result = [i for i in result if i['imageId'] == image_id] + result = [i for i in result if i['id'] == image_id] if not result: raise exception.NotFound(_('Image %s could not be found') % image_id) |
