Add trash type
@@ -165,7 +165,7 @@ public abstract class PrimaryStorageBase extends AbstractPrimaryStorage {
return String.format("primaryStorage-%s", self.getUuid());
}
- protected static List<TrashType> trashLists = CollectionDSL.list(TrashType.MigrateVolume, TrashType.MigrateVolumeSnapshot, TrashType.RevertVolume);
+ protected static List<TrashType> trashLists = CollectionDSL.list(TrashType.MigrateVolume, TrashType.MigrateVolumeSnapshot, TrashType.RevertVolume, TrashType.VolumeSnapshot);
protected void fireDisconnectedCanonicalEvent(ErrorCode reason) {
PrimaryStorageCanonicalEvent.DisconnectedData data = new PrimaryStorageCanonicalEvent.DisconnectedData();
