Comment 3 for bug 1480183

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

Reviewed: https://review.openstack.org/208386
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=6c477034cc0d078db8c17613e9e3cc657713f6c1
Submitter: Jenkins
Branch: master

commit 6c477034cc0d078db8c17613e9e3cc657713f6c1
Author: huangtianhua <email address hidden>
Date: Mon Aug 3 16:13:25 2015 +0800

    Fix incorrect resource's information while describing

    We can't get the resource'infos from db once the resource
    is deleted. All information of a deleted resource come
    from the initialization. So this change will modify some
    infos when resource init:
    1. set the action of resource to stack'action
    2. set the created_time to stack's created_time
    3. set the updated_time to stack's updated_time

    Then the information will be reset for normal resources.

    Change-Id: Iafdc99c572c5dab06bf1843842ed47554d6de128
    Closes-Bug: #1480183