]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
v2 volume/snapshot create will correctly give a 202 response
authorMike Perez <thingee@gmail.com>
Sun, 10 Feb 2013 20:34:44 +0000 (12:34 -0800)
committerMike Perez <thingee@gmail.com>
Tue, 12 Feb 2013 10:26:50 +0000 (02:26 -0800)
commit61a2b3673402f8be8ac97cc7616f610d657d29a4
tree7591bb6f0ed6a87109bb2afa6cfbc1eb9b13b176
parent835fb61442b9b2737a6791e1a46e6d3a01fa0e6b
v2 volume/snapshot create will correctly give a 202 response

Before it was giving a 200 response. Since the request was received fine
but still has to process things, this is a more correct response. In
addition this is more consistent with other OpenStack project create
rest api calls.

Change-Id: I4f29cda7638c257c9cb5be7a5edf2bc4c48626d8
cinder/api/v2/snapshots.py
cinder/api/v2/volumes.py