]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Throw InvalidSnapshot for failed snap delete
authorEric Harney <eharney@redhat.com>
Tue, 2 Apr 2013 13:23:05 +0000 (09:23 -0400)
committerEric Harney <eharney@redhat.com>
Tue, 2 Apr 2013 13:50:49 +0000 (09:50 -0400)
commita4833cbc5657cc148d64ac10264f260a19969e1b
tree3b9d4611fa9012a633800a59a6dae1e6b426056e
parent3aa947d763681b6aa15297c2516789f708ccc461
Throw InvalidSnapshot for failed snap delete

When delete is called for a snapshot not in the "available" or
"error" state, throw an InvalidSnapshot exception rather than
InvalidVolume.

Change-Id: I47f55b3357d75b5c0c9a704aaf693f4764fd112c
cinder/tests/test_volume.py
cinder/volume/api.py