mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 08:11:04 +00:00
fix: Fix a bug in the Database open-index method
This commit is contained in:
@ -115,7 +115,7 @@ impl Database {
|
||||
occupied.get().clone()
|
||||
},
|
||||
Entry::Vacant(vacant) => {
|
||||
if !self.indexes()?.map_or(false, |x| !x.contains(name)) {
|
||||
if !self.indexes()?.map_or(false, |x| x.contains(name)) {
|
||||
return Ok(None)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user