Merge lp:~ed-leafe/nova/lp785843 into lp:~hudson-openstack/nova/trunk
Proposed by
Ed Leafe
Status: | Merged |
---|---|
Approved by: | Josh Kearney |
Approved revision: | 1109 |
Merged at revision: | 1109 |
Proposed branch: | lp:~ed-leafe/nova/lp785843 |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
13 lines (+2/-1) 1 file modified
nova/virt/xenapi/vmops.py (+2/-1) |
To merge this branch: | bzr merge lp:~ed-leafe/nova/lp785843 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mark Washenberger (community) | Approve | ||
Josh Kearney (community) | Approve | ||
Rick Harris (community) | Approve | ||
Review via email: mp+62321@code.launchpad.net |
Description of the change
The code for getting an opaque reference to an instance assumed that there was a reference to an instance obj available when raising an exception. I changed this from raising an InstanceNotFound exception to a NotFound, as this is more appropriate for the failure, and doesn't require an instance ID.
To post a comment you must log in.
lgtm. Thanks Ed.