mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
processing::Nothing return BatchContent::Empty instead of panic
This commit is contained in:
parent
5a2972fc19
commit
a9ef399a6b
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ impl TaskStore {
|
|||
debug_assert!(matches!(task.content, TaskContent::Dump { .. }));
|
||||
BatchContent::Dump(task)
|
||||
}
|
||||
Processing::Nothing => unreachable!(),
|
||||
Processing::Nothing => BatchContent::Empty,
|
||||
};
|
||||
|
||||
Ok((processing, content))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue