~citrix-openstack/nova/lp787657

Viewing all changes in revision 1109.

  • Committer: Tarmac
  • Author(s): Ed Leafe
  • Date: 2011-05-25 15:45:53 UTC
  • mfrom: (1108.1.1 lp785843)
  • Revision ID: tarmac-20110525154553-lcevlni1deuzzdvx
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: