diff options
| author | Eric Day <eday@oddments.org> | 2010-11-24 15:16:23 -0800 |
|---|---|---|
| committer | Eric Day <eday@oddments.org> | 2010-11-24 15:16:23 -0800 |
| commit | 7d771bf9c549499c0a138ea991da5df537e0dd88 (patch) | |
| tree | 67e74f5be99888d2f884147a152d3a651135b0f8 /nova | |
| parent | 1188dd95fbfef144ca71a3c9df2f7dbdb665c97f (diff) | |
The image server should throw not found errors, don't need to check in compute manager.
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/compute/manager.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index cfc3d4bbd..3f870f866 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -117,8 +117,6 @@ class ComputeManager(manager.Manager): is_vpn = image_id == FLAGS.vpn_image_id if not is_vpn: image = image_service.show(context, image_id) - if not image: - raise Exception("Image not found") if kernel_id is None: kernel_id = image.get('kernelId', FLAGS.default_kernel) if ramdisk_id is None: |
