mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-18 08:48:32 +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() {
|
||||
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() {
|
||||
updated_at = task.updated_at()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user