mirror of https://github.com/apache/cloudstack.git
Allow infrastructure to handle delete of volume from DB
(cherry picked from commit 6602ad71ac97fb1875131f41bb5f92ff1e3a1c7b) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
11d446a0d8
commit
a165309b89
|
|
@ -790,8 +790,6 @@ public class SolidfirePrimaryDataStoreDriver implements PrimaryDataStoreDriver {
|
|||
|
||||
SolidFireUtil.SolidFireVolume sfVolume = deleteSolidFireVolume(volumeInfo, sfConnection);
|
||||
|
||||
_volumeDao.deleteVolumesByInstance(volumeInfo.getId());
|
||||
|
||||
// if (!sfAccountHasVolume(sfAccountId, sfConnection)) {
|
||||
// // delete the account from the SolidFire SAN
|
||||
// deleteSolidFireAccount(sfAccountId, sfConnection);
|
||||
|
|
|
|||
Loading…
Reference in New Issue