From 2c24c7d403595f94ec988245880bfdf42f291523 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 13 Oct 2022 10:49:33 +0200 Subject: [PATCH] Fix invalid import of tasks types --- index-scheduler/src/snapshot.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 {