]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Throw a proper error if the flavor is missing.
authorIan Main <imain@redhat.com>
Thu, 14 Feb 2013 23:04:30 +0000 (15:04 -0800)
committerIan Main <imain@redhat.com>
Mon, 18 Feb 2013 19:07:51 +0000 (11:07 -0800)
commitd0dde5b4a9d7ba4efe608e45f66e27aa98ed6ec3
treea96ceb2eec7e4255a7f2b9508f3798dbecfa9f55
parentec325a6931acc458f5acef8a53caa3c17f143cc4
Throw a proper error if the flavor is missing.

I ran into a bug which caused a bt when the flavor is missing on the
targetted system.  This patch makes it throw a proper exception and a
useful error message.

Fixes: bug #1129388
Change-Id: I545fce32732522053e2a4a113a02883a89045910
Signed-off-by: Ian Main <imain@redhat.com>
heat/common/exception.py
heat/engine/resources/instance.py