Reviewed: https://review.openstack.org/250054 Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=9a3c3c0577c12aa02c6571ae908e7ea64d5008b4 Submitter: Jenkins Branch: master
commit 9a3c3c0577c12aa02c6571ae908e7ea64d5008b4 Author: Zane Bitter <email address hidden> Date: Tue Nov 24 12:29:38 2015 -0500
Get rid of the Resource.resource_class() method
Now that we have get_class_to_instantiate() and it always returns TemplateResource (instead of a custom subclass) for template resources, we can just compare the types of resources directly.
Change-Id: I96275c3ead3ea3565e55b99a8c5a9948eaa15b78 Related-Bug: #1508115 Related-Bug: #1447194 Related-Bug: #1518458
Reviewed: https:/ /review. openstack. org/250054 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=9a3c3c0577c 12aa02c6571ae90 8e7ea64d5008b4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9a3c3c0577c12aa 02c6571ae908e7e a64d5008b4
Author: Zane Bitter <email address hidden>
Date: Tue Nov 24 12:29:38 2015 -0500
Get rid of the Resource. resource_ class() method
Now that we have get_class_ to_instantiate( ) and it always returns ource (instead of a custom subclass) for template resources, we
TemplateRes
can just compare the types of resources directly.
Change-Id: I96275c3ead3ea3 565e55b99a8c5a9 948eaa15b78
Related-Bug: #1508115
Related-Bug: #1447194
Related-Bug: #1518458