diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-08-10 09:25:10 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-08-10 09:45:17 -0700 |
| commit | f546f62397979312dd891509c31feadf149b8c59 (patch) | |
| tree | 431c9c34e69c39400e962071d052b45afaf5e0f9 /nova/openstack | |
| parent | 55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5 (diff) | |
Make sure ec2 mapping raises proper exceptions
The get commands in the db layer were constructing InstanceNotFound,
VolumeNotFound, and SnapshotNotFound with imporoper kwargs. This
fixes them to raise properly and adds a test to verify that the
exception formatting succeeded.
Fixes bug 1035375
Change-Id: I05a5bb57c047ca2b2f086c70ad12a640f51b2d3a
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
