diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-08-23 18:38:57 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-08-23 18:38:57 +0000 |
| commit | 53de1a112c1c159a4528666bc3d938345a525bd5 (patch) | |
| tree | efd3a4720f70977af673b1a4264d83c4c4bdb6a8 /nova/api | |
| parent | efbae02a250d82429523159903508c980bf3efa9 (diff) | |
| parent | 8527f3b77773d047272624af8abdbc9356a257f2 (diff) | |
Merge "Provide a hint for missing EC2 image ids"
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 834b5b7e2..c252684a3 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -1181,7 +1181,7 @@ class CloudController(object): if image: image_state = self._get_image_state(image) else: - raise exception.ImageNotFound(image_id=kwargs['image_id']) + raise exception.ImageNotFoundEC2(image_id=kwargs['image_id']) if image_state != 'available': raise exception.EC2APIError(_('Image must be available')) |
