Skip to content

Commit a165309

Browse files
Mike Tutkowskiyadvr
authored andcommitted
Allow infrastructure to handle delete of volume from DB
(cherry picked from commit 6602ad7) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 11d446a commit a165309

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
@@ -790,8 +790,6 @@ public void deleteAsync(DataStore dataStore, DataObject dataObject, AsyncComplet
790790

791791
SolidFireUtil.SolidFireVolume sfVolume = deleteSolidFireVolume(volumeInfo, sfConnection);
792792

793-
_volumeDao.deleteVolumesByInstance(volumeInfo.getId());
794-
795793
// if (!sfAccountHasVolume(sfAccountId, sfConnection)) {
796794
// // delete the account from the SolidFire SAN
797795
// deleteSolidFireAccount(sfAccountId, sfConnection);

0 commit comments

Comments
 (0)