]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : Avoid writing to class-scope parameters schema
authorSteven Hardy <shardy@redhat.com>
Mon, 30 Jul 2012 17:53:23 +0000 (18:53 +0100)
committerSteven Hardy <shardy@redhat.com>
Mon, 30 Jul 2012 17:59:25 +0000 (18:59 +0100)
commit2779760de5d47d7368e541a5a631b041ca4eda1b
tree24ef5a8753197e6a9e0e13fd97938f8f07a8db7a
parent8f0caacf8a93bb515b75803e1a53692e4d4deaf0
heat engine : Avoid writing to class-scope parameters schema

Fixes issue where multiple instances of the same resource types
which have different parameters break, because the parser is
writing back to the class-scope properties_schema which should
be immutable.  This patch fixes by making a per-instance copy.

Fixes #183

Change-Id: Ia29f67465acbcfaf8dfe511ddaa9075bc48157ad
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/checkeddict.py