diff options
| author | Todd Willey <todd@ansolabs.com> | 2011-01-27 00:13:09 -0800 |
|---|---|---|
| committer | Todd Willey <todd@ansolabs.com> | 2011-01-27 00:13:09 -0800 |
| commit | 7460924a798e4b2821077bbc054859b74c28d66c (patch) | |
| tree | c87bfe9c01d1018bda91f5cb658eae7154193d94 | |
| parent | 7bc025c855bcfe575ef69d82f5339b6d1c66ea41 (diff) | |
more instanceId => id fixes
| -rw-r--r-- | nova/api/ec2/cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index 22b8c19cb..23d510c71 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -843,7 +843,7 @@ class CloudController(object): # Note: image_id is a list! images = self.image_service.index(context) if image_id: - images = filter(lambda x: x['imageId'] in image_id, images) + images = filter(lambda x: x['id'] in image_id, images) return {'imagesSet': images} def deregister_image(self, context, image_id, **kwargs): |
