summaryrefslogtreecommitdiff
path: root/src/bin/benchmark-indexedstore.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/benchmark-indexedstore.rs')
-rw-r--r--src/bin/benchmark-indexedstore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/benchmark-indexedstore.rs b/src/bin/benchmark-indexedstore.rs
index a4191ac..3ee4c38 100644
--- a/src/bin/benchmark-indexedstore.rs
+++ b/src/bin/benchmark-indexedstore.rs
@@ -19,7 +19,7 @@ fn main() -> anyhow::Result<()> {
let opt = Opt::from_args();
let gen = ChunkGenerator::new(opt.num);
- let mut store = IndexedStore::new(&opt.chunks);
+ let mut store = IndexedStore::new(&opt.chunks)?;
for (_, _, meta, chunk) in gen {
store.save(&meta, &chunk)?;
}