Allow infrastructure to handle delete of volume from DB

This commit is contained in:
Mike Tutkowski 2014-11-07 07:49:23 -07:00
parent 330bd2748e
commit b1915f35f8
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();