Skip to content

Commit

Permalink
chore: trim write cache path
Browse files Browse the repository at this point in the history
  • Loading branch information
evenyag authored Dec 10, 2024
1 parent 2db232e commit 3d54fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mito2/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ impl MitoConfig {
}

// Sets write cache path if it is empty.
if self.experimental_write_cache_path.is_empty() {
if self.experimental_write_cache_path.trim().is_empty() {
let object_cache_path = join_dir(data_home, OBJECT_CACHE_DIR);
self.experimental_write_cache_path = join_dir(&object_cache_path, "write");
}
Expand Down

0 comments on commit 3d54fd2

Please sign in to comment.