Skip to content

Commit

Permalink
fix: variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Devdutt Shenoi committed May 14, 2024
1 parent dea0a0e commit 0f20e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/deserialize-backup/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ fn main() -> Result<(), Error> {
let path = dir.path();
let stream_name = dir.path().into_iter().last().unwrap().to_string_lossy().to_string();
// NOTE: max_file_size and max_file_count should not matter when reading non-destructively
let mut storage = storage::Storage::new(&stream, 1048576);
let mut storage = storage::Storage::new(&stream_name, 1048576);
storage.set_persistence(path, 3)?;
storage.set_non_destructive_read(true);

Expand Down

0 comments on commit 0f20e4a

Please sign in to comment.