]> 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)
committerjohn-griffith <john.griffith@solidfire.com>
Sat, 23 Mar 2013 21:37:42 +0000 (15:37 -0600)
commit2c2cd8847cdbe702a62f1637d0f2e89723aa1491
tree2a449d8a2b2395fc54a31d6a226914fac406e677
parent407d9e5e95ad8a921231bfa81e903924c2617c34
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
(cherry picked from commit f5706319365dbd11cbc91bd69b09238afa51a626)
cinder/api/v2/views/volumes.py
cinder/api/v2/volumes.py
cinder/tests/api/v2/test_volumes.py