From 0f20e4a4ab32ef4cfd0b016e73829a70c1b6db83 Mon Sep 17 00:00:00 2001 From: Devdutt Shenoi Date: Tue, 14 May 2024 21:11:40 +0530 Subject: [PATCH] fix: variable name --- tools/deserialize-backup/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/deserialize-backup/src/main.rs b/tools/deserialize-backup/src/main.rs index 2b37f755..c86caf21 100644 --- a/tools/deserialize-backup/src/main.rs +++ b/tools/deserialize-backup/src/main.rs @@ -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);