There is no strict boolean checking for the parameter
"bootable" of API /os-volume-manage, so that any invalid
boolean value can be specified.
This patch adds a strict checking for it to prevent
invalid value, and adds a test for this change as well.
Reviewed: https:/ /review. openstack. org/338244 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=28b5c7e101d 45e2897480fe587 aff7c7def2f161
Committed: https:/
Submitter: Jenkins
Branch: master
commit 28b5c7e101d45e2 897480fe587aff7 c7def2f161
Author: xiexs <email address hidden>
Date: Wed Jul 6 11:04:23 2016 -0400
Add strict Boolean checking for volume manage
There is no strict boolean checking for the parameter
"bootable" of API /os-volume-manage, so that any invalid
boolean value can be specified.
This patch adds a strict checking for it to prevent
invalid value, and adds a test for this change as well.
Change-Id: I0d79a0bb173aae eea0fe6d735213c 70c109ccd69
Partial-Bug: #1594261