]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
The param 'readonly' is incorrect checked
authorzhangyanzi <zhangyanzi@huawei.com>
Mon, 25 Nov 2013 11:33:49 +0000 (19:33 +0800)
committerzhangyanzi <zhangyanzi@huawei.com>
Mon, 25 Nov 2013 11:43:47 +0000 (19:43 +0800)
commitf1cc8726058a5b3bc4b955e3441e498c2ead8471
tree0737f9ea413079f82ea3ef0510adb1d0a19821c6
parent0b71a3f0bd502f9637043aa3f21a6653d536b866
The param 'readonly' is incorrect checked

In the function os-update_readonly_flag, the param 'readonly' is incorrect
checked, without the param in request, i think it should raise exception
with message like "Must specify readonly in request."

Change-Id: I19e15e988ffa2d093d374f6a33ce94d45ffe2c30
Closes-bug: 1254682
cinder/api/contrib/volume_actions.py
cinder/tests/api/contrib/test_volume_actions.py