]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update snapshot rest api to be consistent with volumes
authorMike Perez <thingee@gmail.com>
Tue, 12 Feb 2013 06:49:26 +0000 (22:49 -0800)
committerMike Perez <thingee@gmail.com>
Tue, 12 Feb 2013 10:36:15 +0000 (02:36 -0800)
commit4ca3b5315a27b96108bc782518b5ce9e6ef552e4
tree50033fad2a84656b04959c106e4da5ad0f189980
parent835fb61442b9b2737a6791e1a46e6d3a01fa0e6b
Update snapshot rest api to be consistent with volumes

display_name becomes name and display_description becomes description in
both parameters to pass in requests and keys returned from responses.
This does not update the snapshot model as it takes the same approach
with updating the volume rest api.

Change-Id: I413b5f87882a216b7a847fb12c31f5e5ed91510b
cinder/api/v2/snapshots.py
cinder/tests/api/v2/test_snapshots.py