]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Changes to cast variable as integer as XML API fails.
authorGlenn M. Gobeli <Glenn.Gobeli@netapp.com>
Tue, 11 Feb 2014 18:03:13 +0000 (13:03 -0500)
committerGlenn M. Gobeli <Glenn.Gobeli@netapp.com>
Tue, 11 Feb 2014 18:23:23 +0000 (13:23 -0500)
commit26f9b33085b20a3967299a4d3b2ec871bd6a40d0
tree85c89a18da92c7e43208cc9e9adf3575f9324122
parent0388ec72dfedbdbd0718e01fd61e555065c6e04c
Changes to cast variable as integer as XML API fails.

Code change to ensure that the type of the size variable is correct
when cinder is invoked through XML API. The extend volume code path
differs from volume create where the flow portion verifies that the
size variable is an integer; for extend the earliest place to cast
the size variable is in volume_actions.py.

Change-Id: Iaaed463f988769b8093604cd3b677b270dd2c5cd
Closes-bug: 1277233
cinder/api/contrib/volume_actions.py