Skip to content

Commit

Permalink
Remove unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
arpad-m committed Dec 9, 2024
1 parent 4d679ab commit 484647b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions storage_scrubber/src/pageserver_physical_gc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ async fn gc_timeline(
.iter()
.find(|offloaded_timeline| offloaded_timeline.timeline_id == ttid.timeline_id);
if let Some(offloaded) = maybe_offloaded {
let warnings = validate_index_part_with_offloaded(ttid, index_part, offloaded);
let warnings = validate_index_part_with_offloaded(index_part, offloaded);
let warn = if warnings.is_empty() {
false
} else {
Expand Down Expand Up @@ -668,7 +668,6 @@ async fn gc_timeline(
}

fn validate_index_part_with_offloaded(
ttid: TenantShardTimelineId,
index_part: &IndexPart,
offloaded: &OffloadedTimelineManifest,
) -> Vec<String> {
Expand Down

0 comments on commit 484647b

Please sign in to comment.