Comment 18 for bug 1719333

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to heat (master)

Reviewed: https://review.openstack.org/507250
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=2e4a6e237cf226eb61cf905a72cfb5eb3d5177f0
Submitter: Zuul
Branch: master

commit 2e4a6e237cf226eb61cf905a72cfb5eb3d5177f0
Author: Zane Bitter <email address hidden>
Date: Tue Dec 19 16:36:43 2017 -0500

    Use appropriate exception in StackResource.get_output()

    Don't raise InvalidTemplateAttribute in StackResource.get_output() when an
    output does not exist - it's not the case that get_output() is only used
    for fetching attributes. Instead, raise NotFound from get_output(), and
    translate that to InvalidTemplateAttribute in the caller when we are
    actually fetching an attribute.

    Change-Id: I4f883e4b583a965785d0a595c8c33b47dc94118c
    Related-Bug: #1719333