From 1083f18f9b84704eaa68be7efb74407c91e6f353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arpad=20M=C3=BCller?= Date: Mon, 9 Dec 2024 14:03:39 +0100 Subject: [PATCH] clippy --- storage_scrubber/src/pageserver_physical_gc.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/storage_scrubber/src/pageserver_physical_gc.rs b/storage_scrubber/src/pageserver_physical_gc.rs index 4bb9bc136e76..d19b8a5f91b6 100644 --- a/storage_scrubber/src/pageserver_physical_gc.rs +++ b/storage_scrubber/src/pageserver_physical_gc.rs @@ -684,9 +684,7 @@ fn validate_index_part_with_offloaded( )); } } else { - warnings.push(format!( - "Timeline offloaded in manifest but not archived in index-part" - )); + warnings.push("Timeline offloaded in manifest but not archived in index-part".to_string()); } if index_part.metadata.ancestor_timeline() != offloaded.ancestor_timeline_id { warnings.push(format!(