]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove create_from* functor jump table
authorJoshua Harlow <harlowja@yahoo-inc.com>
Thu, 22 May 2014 02:26:15 +0000 (19:26 -0700)
committerJoshua Harlow <harlowja@yahoo-inc.com>
Thu, 22 May 2014 02:39:55 +0000 (19:39 -0700)
commit2d0d29fe0389dd0eb1f6d62f5fb72caa382aae8f
tree5fc39d35cbda1c14a43780020136e23ccc07850c
parentfab715089151d7ac156973ae4eb00699f22f815c
Remove create_from* functor jump table

To make it easier to debug during runtime which method was
called remove the dictionary type -> functor mapping and
use a set of if statements instead. This makes it so that
if one of these methods fails we can gather more information
from the traceback than what was previously possible.

Change-Id: Iee2b0b90fe57734966d415c053bbc967335d5509
cinder/volume/flows/manager/create_volume.py