mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
Remove redundant date-setting
This commit is contained in:
parent
4e175ae882
commit
b4a73f2d74
@ -187,8 +187,7 @@ impl IndexMapper {
|
||||
Entry::Vacant(entry) => {
|
||||
let index_path = self.base_path.join(uuid.to_string());
|
||||
|
||||
let date = Some(( time::OffsetDateTime::now_utc(), time::OffsetDateTime::now_utc() ));
|
||||
let index = self.create_or_open_index(&index_path, date)?;
|
||||
let index = self.create_or_open_index(&index_path, None)?;
|
||||
entry.insert(Available(index.clone()));
|
||||
index
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user