]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Validate force_host_copy API param for migration
authorAvishay Traeger <avishay@il.ibm.com>
Sun, 29 Sep 2013 10:17:51 +0000 (13:17 +0300)
committerAvishay Traeger <avishay@il.ibm.com>
Sun, 29 Sep 2013 10:17:51 +0000 (13:17 +0300)
commit36c420157674e8ed34d407f19062b06a657e6490
treecb1ace77a77da7bf47426c218cc7a8b1d26f2b3f
parent4139dbcfb17102d2169f3efb0255a65b81268715
Validate force_host_copy API param for migration

For the force_host_copy parameter of volume migration, make sure that we
get a boolean or string that we can convert to boolean.

Change-Id: I7a77ca1780a4ef80bc351aa89df0efaaea0d7cf4
Closes-Bug: #1232698
cinder/api/contrib/admin_actions.py
cinder/tests/api/contrib/test_admin_actions.py