Comment 9 for bug 1522454

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/290706
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0f26569649b5785e18581143f30cd5d44a77c1bf
Submitter: Jenkins
Branch: master

commit 0f26569649b5785e18581143f30cd5d44a77c1bf
Author: Stephen Finucane <email address hidden>
Date: Tue Dec 13 13:47:38 2016 +0000

    libvirt: Flatten 'get_domain' function

    Recent changes to the code mean the function 'get_domain' is the sole
    caller of '_get_domain_by_name'. This structure is unnecessarily bloated
    and prevents us from raising valid InstanceNotFound exceptions
    containing Instance.uuid values. Fold the latter functions into the
    former, shedding this excess weight and partially resolving the bug.

    Change-Id: I43d608a629b3dba204264f1db97fb35b205aee85
    Closes-Bug: #1522454