From 04e83ed529c2d975619cdc3b770825ba72d8e2a6 Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Fri, 5 May 2023 03:05:15 +0300 Subject: [PATCH] chore: last clippy --- pageserver/src/tenant.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/tenant.rs b/pageserver/src/tenant.rs index f96008c4e0..f051ec3cb4 100644 --- a/pageserver/src/tenant.rs +++ b/pageserver/src/tenant.rs @@ -1622,7 +1622,7 @@ impl Tenant { // For configurations without remote storage, we tolerate that we're not crash-safe here. // The timeline may come up Active but with missing layer files, in such setups. // See https://github.com/neondatabase/neon/pull/3919#issuecomment-1531726720 - if let Err(e) = std::fs::remove_dir_all(&local_timeline_directory) { + if let Err(e) = std::fs::remove_dir_all(local_timeline_directory) { warn!("failed to remove timeline files after uploading tombstoned index_part.json: {e}"); }