]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix begin_detach logic
authorRyan McNair <rdmcnair@us.ibm.com>
Thu, 3 Jul 2014 04:35:05 +0000 (04:35 +0000)
committerRyan McNair <rdmcnair@us.ibm.com>
Thu, 3 Jul 2014 04:36:29 +0000 (04:36 +0000)
commit87cd23419bdd5724e742eda21bc23876b558e0d1
tree0cf519a57925a28fd522ec536f57f28686e6bddf
parent5a217881fbebf7b409344ee3763a14ba86cbc28b
Fix begin_detach logic

Fix begin_detach logic so it checks that a volume is in-use AND
attached.

Change-Id: I6f0e584070a5fc02c55c26ea92cb8b0c2a2cda3e
Closes-Bug: #1337088
cinder/tests/test_volume.py
cinder/volume/api.py