Skip to content

Commit

Permalink
Fix build error due to rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
sanketkedia committed Dec 4, 2024
1 parent 4b2b9cc commit a6bb23b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions rust/index/src/spann/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,13 @@ impl SpannIndexWriter {
.read::<&str, u32>(max_head_id_bf_id)
.await;
match reader {
Ok(reader) => reader.get("", MAX_HEAD_OFFSET_ID).await.map_err(|_| {
SpannIndexWriterConstructionError::BlockfileReaderConstructionError
})?,
Ok(reader) => reader
.get("", MAX_HEAD_OFFSET_ID)
.await
.map_err(|_| {
SpannIndexWriterConstructionError::BlockfileReaderConstructionError
})?
.unwrap(),
Err(_) => 1,
}
}
Expand Down

0 comments on commit a6bb23b

Please sign in to comment.