mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-29 22:43:09 +08:00
Release unecessary ownership.
This commit is contained in:
parent
e2775c6f49
commit
4e6c663a2e
@ -208,7 +208,7 @@ impl V5IndexReader {
|
|||||||
for line in tasks.lines() {
|
for line in tasks.lines() {
|
||||||
let task: Task = serde_json::from_str(&line?)?;
|
let task: Task = serde_json::from_str(&line?)?;
|
||||||
|
|
||||||
if task.index_uid().unwrap_or_default().to_string() == name {
|
if *task.index_uid().unwrap_or_default().to_string() == name {
|
||||||
if updated_at.is_none() {
|
if updated_at.is_none() {
|
||||||
updated_at = task.updated_at()
|
updated_at = task.updated_at()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user