diff --git a/index-scheduler/src/snapshot.rs b/index-scheduler/src/snapshot.rs index 237df6f90..03201baa5 100644 --- a/index-scheduler/src/snapshot.rs +++ b/index-scheduler/src/snapshot.rs @@ -3,13 +3,10 @@ use meilisearch_types::heed::{ Database, RoTxn, }; use meilisearch_types::milli::{RoaringBitmapCodec, BEU32}; +use meilisearch_types::tasks::{Details, Task}; use roaring::RoaringBitmap; -use crate::{ - index_mapper::IndexMapper, - task::{Details, Task}, - IndexScheduler, Kind, Status, -}; +use crate::{index_mapper::IndexMapper, IndexScheduler, Kind, Status}; pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String { let IndexScheduler {