add mocker to IndexResolver

This commit is contained in:
ad hoc 2022-06-02 11:00:07 +02:00
parent bbd685af5e
commit df61ca9cae
No known key found for this signature in database
GPG key ID: 4F00A782990CC643
4 changed files with 118 additions and 10 deletions

View file

@ -38,7 +38,7 @@ where
if let BatchContent::DocumentsAdditionBatch(ref tasks) = batch.content {
for task in tasks {
if let Some(content_uuid) = task.get_content_uuid() {
if let Err(e) = self.file_store.delete(content_uuid).await {
if let Err(e) = self.delete_content_file(content_uuid).await {
log::error!("error deleting update file: {}", e);
}
}