diff options
| author | John Tran <jtran@attinteractive.com> | 2011-05-24 09:43:52 -0700 |
|---|---|---|
| committer | John Tran <jtran@attinteractive.com> | 2011-05-24 09:43:52 -0700 |
| commit | a0cffc4de8ba4b15958e320308477d42287858e7 (patch) | |
| tree | 05924259e9b05c776967e6f185c7fdb25d145330 /nova/api | |
| parent | 8e7c3121fab4b5a87c2efe865f3c06b1bd267cbc (diff) | |
specified image_id keyword in exception arg
Diffstat (limited to 'nova/api')
| -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 59e00781e..80c61d62b 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -848,7 +848,7 @@ class CloudController(object): kwargs['ramdisk_id'] = ramdisk['id'] image = self._get_image(context, kwargs['image_id']) if not image: - raise exception.ImageNotFound(kwargs['image_id']) + raise exception.ImageNotFound(image_id=kwargs['image_id']) try: available = (image['properties']['image_state'] == 'available') except KeyError: |
