]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fetch volume_types by uuid and not by name in v2
authorMike Perez <thingee@gmail.com>
Fri, 22 Mar 2013 02:55:48 +0000 (19:55 -0700)
committerMike Perez <thingee@gmail.com>
Fri, 22 Mar 2013 15:50:40 +0000 (08:50 -0700)
commitf5706319365dbd11cbc91bd69b09238afa51a626
treefcd8b12687ccea563d5278fcd5d36c03df009dad
parentc38a3473adbe31d3e4d9698dabb60b657d39f6a9
Fetch volume_types by uuid and not by name in v2

This was left over from the UUID switch. Looking up volume_types by name
is deprecated in v1 and removed in v2.

Fixes: bug #1087817
Change-Id: I02cc035565f9496cd5af228c55ced5cafef2ad81
cinder/api/v2/views/volumes.py
cinder/api/v2/volumes.py
cinder/tests/api/v2/test_volumes.py