Skip to content

Commit 7c5bc4a

Browse files
author
Mike Tutkowski
committed
Allow infrastructure to handle delete of volume from DB
1 parent 9338abb commit 7c5bc4a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,6 @@ public void deleteAsync(DataStore dataStore, DataObject dataObject, AsyncComplet
465465

466466
_volumeDetailsDao.removeDetails(volumeId);
467467

468-
_volumeDao.deleteVolumesByInstance(volumeId);
469-
470468
StoragePoolVO storagePool = _storagePoolDao.findById(storagePoolId);
471469

472470
// getUsedBytes(StoragePool) will not include the volume to delete because it has already been deleted by this point

0 commit comments

Comments
 (0)