]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Make Boolean property a bool type.
authorSteve Baker <sbaker@redhat.com>
Tue, 6 Nov 2012 02:38:53 +0000 (15:38 +1300)
committerSteve Baker <sbaker@redhat.com>
Tue, 6 Nov 2012 02:39:23 +0000 (15:39 +1300)
commit39a9721232649664cf0c96d2c58ad718efe88ce1
tree7c2d51c886cbbda70b24b35f5e9eb1c49566c554
parentf8f6bf2a57dcf144a3360b9085d970b62372c06a
Make Boolean property a bool type.
Since json has a native bool type, allow bool or string as the property value.
Validating a Boolean type value will now convert a string to a bool.

Change-Id: Ia1843e0f56e5afb2914708e42b62f2063279317f
heat/engine/resources/properties.py
heat/tests/test_properties.py