]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Change check method for 'all_tenants'
authorliyuanyuan <liyuanyuan.fnst@cn.fujitsu.com>
Thu, 10 Sep 2015 05:52:00 +0000 (05:52 +0000)
committerLi Yuanyuan <liyuanyuan.fnst@cn.fujitsu.com>
Tue, 15 Sep 2015 06:55:24 +0000 (06:55 +0000)
commit9080962d5d6060a9edac30bc3d2d898592b06dd2
treee6ee432448d2f5ee0a4fcee63711f3b5eea6db81
parent847a302923b2de5ca56935711b884b489fc1c132
Change check method for 'all_tenants'

Replaced with calls to get_bool_param from utils,
so it supports any boolean value like the rest of the API methods.

APIImpact: The API will also allow to pass 'yes', 'no', 'y', 'n'
as valid boolean strings in addition.

Change-Id: I397b0dfb688e0e6278eac75978df28bf6f99d0a9
Closes-Bug: #1494130
cinder/tests/unit/test_volume.py
cinder/volume/api.py