Convergence: Fix to use cache_data for nested stack

Fix FnGetRefId of StackResource(nested stack) to fetch value from
cache_data, if present.

(Refer Icd92f6514c7590c90da2fcd2123d33862d613486)
Closes-Bug: #1495546

Change-Id: I3282ae1a07389f54b08c54bf8e7090bbee4c8a50
This commit is contained in:
Rakesh H S 2015-09-22 19:53:00 +05:30
parent 412b3f59d0
commit 2e68b9c081

View File

@ -294,7 +294,7 @@ class TemplateResource(stack_resource.StackResource):
return self.update_with_template(self.child_template(),
self.child_params())
def FnGetRefId(self):
def get_reference_id(self):
if self.nested() is None:
return six.text_type(self.name)