]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Checks the volume_clear flag and just return if it is none
authorRongze Zhu <rongze@unitedstack.com>
Wed, 17 Jul 2013 08:34:21 +0000 (16:34 +0800)
committerRongze Zhu <rongze@unitedstack.com>
Wed, 17 Jul 2013 08:59:10 +0000 (16:59 +0800)
commitf04600a5f545baa3c947c3acadb72d14fd2ef758
tree7b91d2d210c9412495979cbe81a1f333d15fa1b5
parente9b5abbaf67c8109d4548753bfd87480afe4a0a7
Checks the volume_clear flag and just return if it is none

Refactors the clear_volume method in LVMVolumeDriver, checks the
volume_clear flag firstly and return directly if it is none.

Change-Id: Id2523cfaaf61c7d6dec51c0daf6255d9de5d50f3
cinder/volume/drivers/lvm.py