Reviewed: https://review.openstack.org/532301 Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=77112137bb368304be2437de09f0224e8e38ab58 Submitter: Zuul Branch: master
commit 77112137bb368304be2437de09f0224e8e38ab58 Author: Zane Bitter <email address hidden> Date: Tue Jan 9 11:29:25 2018 -0500
Fix resource.<n> attribute caching in ResourceGroup/Chain
When generating the nested template output, we need to take into account both forms of syntax:
get_attr: [<group_name>, resource.<index>.<attr_name>, ...]
or
get_attr: [<group_name>, resource.<index>, <attr_name>, ...]
Previously we would generate an output for the former case but not the latter, so the attribute wouldn't get cached when that syntax was used.
Change-Id: I2a059d5cc42d794ca71caaa1661c32eb76c733fc Closes-Bug: #1742185 Partial-Bug: #1731349 Related-Bug: #1660831
Reviewed: https:/ /review. openstack. org/532301 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=77112137bb3 68304be2437de09 f0224e8e38ab58
Committed: https:/
Submitter: Zuul
Branch: master
commit 77112137bb36830 4be2437de09f022 4e8e38ab58
Author: Zane Bitter <email address hidden>
Date: Tue Jan 9 11:29:25 2018 -0500
Fix resource.<n> attribute caching in ResourceGroup/Chain
When generating the nested template output, we need to take into account
both forms of syntax:
get_attr: [<group_name>, resource. <index> .<attr_ name>, ...]
or
get_attr: [<group_name>, resource.<index>, <attr_name>, ...]
Previously we would generate an output for the former case but not the
latter, so the attribute wouldn't get cached when that syntax was used.
Change-Id: I2a059d5cc42d79 4ca71caaa1661c3 2eb76c733fc
Closes-Bug: #1742185
Partial-Bug: #1731349
Related-Bug: #1660831