Allow infrastructure to handle delete of volume from DB

This commit is contained in:
Mike Tutkowski 2014-11-06 21:34:05 -07:00
parent 9338abb6f3
commit 7c5bc4ae7e
1 changed files with 0 additions and 2 deletions

View File

@ -465,8 +465,6 @@ public class SolidFirePrimaryDataStoreDriver implements PrimaryDataStoreDriver {
_volumeDetailsDao.removeDetails(volumeId);
_volumeDao.deleteVolumesByInstance(volumeId);
StoragePoolVO storagePool = _storagePoolDao.findById(storagePoolId);
// getUsedBytes(StoragePool) will not include the volume to delete because it has already been deleted by this point