]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Returns text error when instance validation fails
authorJianing YANG <jianingy@unitedstack.com>
Thu, 25 Jul 2013 12:47:31 +0000 (20:47 +0800)
committerJianing YANG <jianingy@unitedstack.com>
Tue, 6 Aug 2013 12:45:29 +0000 (20:45 +0800)
commit8c4e0be50cb001cdbeef25e49657c38a37afa43c
treedd2488f9b0602a75920fab5361334c3b80b016d1
parentbd380aa2969c0ed6361c72a2687d955066df3dd2
Returns text error when instance validation fails

Since heat now is able to return parsable errors by middleware, we
don't need to return jsonfied error strings here.

Fixes Bug 1204582

Change-Id: Id3d68b9996ad67df0e25c6db5754f73bfa1e8830
heat/common/exception.py
heat/engine/resources/instance.py
heat/tests/test_validate.py