]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update V2 API to return detailed volume information on create
authorSwapnil Kulkarni <swapnilkulkarni2608@gmail.com>
Sat, 4 Jan 2014 07:24:13 +0000 (12:54 +0530)
committerSwapnil Kulkarni <swapnilkulkarni2608@gmail.com>
Sat, 4 Jan 2014 15:51:12 +0000 (21:21 +0530)
commitc32302c5d5f35df39b49d32fcba47a4d36b3783a
tree7ca7a9c8efdfa08770e1228987e989d6b27f08c2
parent01cc78d9ec86953417d742bf0b3defc4803d02e7
Update V2 API to return detailed volume information on create

Current implementation returns only summary information, so
cinderclient requires additional GET call to get details.
Updated the api to return the details by default so the GET in
cinderclient can be removed.

Closes-Bug: #1265893

Change-Id: I56d4d79c4a942d8bf53318e46737674dc0bf9b56
cinder/api/v2/volumes.py
cinder/tests/api/v2/test_volumes.py