Allow infrastructure to handle delete of volume from DB

This commit is contained in:
Mike Tutkowski 2014-11-07 07:52:47 -07:00
parent 1c9775b0df
commit 27d6bff845
1 changed files with 0 additions and 3 deletions

View File

@ -231,9 +231,6 @@ public class ElastistorPrimaryDataStoreDriver extends CloudStackPrimaryDataStore
}
if (result) {
_volumeDao.deleteVolumesByInstance(volumeInfo.getId());
long usedBytes = storagePool.getUsedBytes();
long capacityIops = storagePool.getCapacityIops();