]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Catch TypeError when new_size is None on extend
authorjohn-griffith <john.griffith@solidfire.com>
Mon, 9 Dec 2013 23:00:20 +0000 (16:00 -0700)
committerjohn-griffith <john.griffith@solidfire.com>
Mon, 9 Dec 2013 23:00:20 +0000 (16:00 -0700)
commitbc16517ac7351b715d0202f7beb5a5e0d7ff8f97
treeae62381e1f388540c3975ae886ebbe2fd99e6767
parent7689ff9a01b695658a76ad2cb8bfcd84a992b3d2
Catch TypeError when new_size is None on extend

The volume_actions extend method does not catch/handle TypeError
exceptions.  The tempest volume_actions test includes a negative
test that doesn't pass in a new-size so the result is we get an
unhandled exception/trace in the log files for these runs.

Change-Id: I8b699a28e06e62126da02c3318d3129412dffa6b
Closes-Bug: #1259336
cinder/api/contrib/volume_actions.py