diff --git a/dump/src/lib.rs b/dump/src/lib.rs index ecd34b111..da98f9d2a 100644 --- a/dump/src/lib.rs +++ b/dump/src/lib.rs @@ -117,7 +117,7 @@ pub enum KindDump { query: String, tasks: Vec, }, - DeleteTasks { + TasksDeletion { query: String, tasks: RoaringBitmap, }, @@ -186,7 +186,7 @@ impl From for KindDump { KindDump::TaskCancelation { query, tasks } } KindWithContent::TaskDeletion { query, tasks } => { - KindDump::DeleteTasks { query, tasks } + KindDump::TasksDeletion { query, tasks } } KindWithContent::DumpExport { dump_uid, diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index 5be805377..ad8b8f9e0 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -526,7 +526,7 @@ impl IndexScheduler { KindDump::TaskCancelation { query, tasks } => { KindWithContent::TaskCancelation { query, tasks } } - KindDump::DeleteTasks { query, tasks } => { + KindDump::TasksDeletion { query, tasks } => { KindWithContent::TaskDeletion { query, tasks } } KindDump::DumpExport {