Skip to content

Commit

Permalink
Fix cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
petuhovskiy committed Jun 24, 2024
1 parent 0d73601 commit 361d6f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions safekeeper/src/wal_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ impl PhysicalStorage {
// half initialized segment, first bake it under tmp filename and
// then rename.
let tmp_path = self.timeline_dir.join("waltmp");
let mut file =
File::create(&tmp_path)
let mut file = File::create(&tmp_path)
.await
.with_context(|| format!("Failed to open tmp wal file {:?}", &tmp_path))?;

Expand Down

0 comments on commit 361d6f8

Please sign in to comment.