mirror of https://github.com/apache/cloudstack.git
Allow infrastructure to handle delete of volume from DB
This commit is contained in:
parent
330bd2748e
commit
b1915f35f8
|
|
@ -231,9 +231,6 @@ public class ElastistorPrimaryDataStoreDriver extends CloudStackPrimaryDataStore
|
|||
}
|
||||
|
||||
if (result) {
|
||||
|
||||
_volumeDao.deleteVolumesByInstance(volumeInfo.getId());
|
||||
|
||||
long usedBytes = storagePool.getUsedBytes();
|
||||
long capacityIops = storagePool.getCapacityIops();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue