Skip to content

Commit

Permalink
Make bigtable delete-slots actually usable (#20037) (#20041)
Browse files Browse the repository at this point in the history
(cherry picked from commit 22f45dc)

Co-authored-by: Ryo Onodera <[email protected]>
  • Loading branch information
mergify[bot] and ryoqun authored Sep 20, 2021
1 parent b7fc704 commit cfc0e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger-tool/src/bigtable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ pub fn bigtable_process_command(ledger_path: &Path, matches: &ArgMatches<'_>) {
}
("delete-slots", Some(arg_matches)) => {
let slots = values_t_or_exit!(arg_matches, "slots", Slot);
let dry_run = !value_t_or_exit!(arg_matches, "force", bool);
let dry_run = !arg_matches.is_present("force");
runtime.block_on(delete_slots(slots, dry_run))
}
("first-available-block", Some(_arg_matches)) => runtime.block_on(first_available_block()),
Expand Down

0 comments on commit cfc0e2d

Please sign in to comment.