Adjust + Cleanup changes.

Indeed, I missed some of the changed that were introduced by #3190.
This commit is contained in:
funilrys
2022-12-22 17:53:33 +01:00
parent 4e6c663a2e
commit 0bc4572905
2 changed files with 2 additions and 13 deletions

View File

@ -210,15 +210,11 @@ impl V5IndexReader {
if *task.index_uid().unwrap_or_default().to_string() == name {
if updated_at.is_none() {
updated_at = task.updated_at()
}
if created_at.is_none() {
created_at = task.created_at()
updated_at = task.processed_at()
}
if task.id as usize == index_metadata.creation_task_id {
created_at = task.processed_at();
created_at = task.created_at();
break;
}