]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Call calulate_properties() before calling FnGetAtt()
authorAngus Salkeld <asalkeld@redhat.com>
Wed, 25 Jul 2012 02:36:35 +0000 (12:36 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Wed, 25 Jul 2012 02:36:35 +0000 (12:36 +1000)
commit783b1112490ef07db05251c1258c04f8b1caa5a0
tree9471eacd3d574a879257c8c243baf2e7d359e22a
parent8c3f0f14a5f2b41f0a7f4922a3100c0797feaddd
Call calulate_properties() before calling FnGetAtt()

The problem is that in the delete the order of resolution is reversed
so in delete loop we have not yet done a calulate_properties() on the
resource that we are about to call FnGetAtt() for.

Fixes #178
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Change-Id: I8af6f8a78086a7b1f2bcc280d57af0b4311f08cc
heat/engine/checkeddict.py
heat/engine/parser.py