rebase on index-scheduler

This commit is contained in:
Tamo 2022-10-17 15:11:35 +02:00 committed by Clément Renault
parent 6987bc185e
commit 458a531547
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
7 changed files with 12 additions and 6 deletions

View file

@ -87,7 +87,7 @@ impl Task {
| KindWithContent::IndexUpdate { .. }
| KindWithContent::IndexSwap { .. }
| KindWithContent::CancelTask { .. }
| KindWithContent::DeleteTasks { .. }
| KindWithContent::TaskDeletion { .. }
| KindWithContent::DumpExport { .. }
| KindWithContent::Snapshot => None,
}
@ -250,7 +250,7 @@ impl From<&KindWithContent> for Option<Details> {
}),
KindWithContent::IndexSwap { .. } => None,
KindWithContent::CancelTask { .. } => None,
KindWithContent::DeleteTasks { .. } => todo!(),
KindWithContent::TaskDeletion { .. } => todo!(),
KindWithContent::DumpExport { dump_uid, .. } => Some(Details::Dump {
dump_uid: dump_uid.clone(),
}),