]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Only call FnGetAtt if resource is in acceptable state.
authorSteve Baker <sbaker@redhat.com>
Tue, 4 Jun 2013 04:40:12 +0000 (16:40 +1200)
committerSteve Baker <sbaker@redhat.com>
Wed, 5 Jun 2013 23:10:12 +0000 (11:10 +1200)
commitc19a3deb649b6e4c5ea933e7c0ad157f4049d185
tree6c86ff83e4764a93df5499bc13f74582c05fdcf8
parent4c556ae9334ab3edda1c57c022d75ec7013c4b7d
Only call FnGetAtt if resource is in acceptable state.

This will give resource type authors some certainty on what error
checking their FnGetAtt methods will require.

Fixes bug: #1184794

Change-Id: Iec456075c14cd609cf9607f07bce23e4c6b33c0c
heat/engine/template.py
heat/tests/test_metadata_refresh.py
heat/tests/test_parser.py