mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 13:10:06 +01: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…
x
Reference in New Issue
Block a user