mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3786. Snapshots removed field is not set after successful deletion of the snapshot.
Set the removed field for snapshot when the storage gc removes the snapshot
This commit is contained in:
parent
8cf48ed2ce
commit
ec669ff48e
|
|
@ -1158,6 +1158,7 @@ public class StorageManagerImpl extends ManagerBase implements StorageManager, C
|
|||
s_logger.debug("Deleting snapshot store DB entry: " + destroyedSnapshotStoreVO);
|
||||
}
|
||||
|
||||
_snapshotDao.remove(destroyedSnapshotStoreVO.getSnapshotId());
|
||||
_snapshotStoreDao.remove(destroyedSnapshotStoreVO.getId());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue