ledger-tool does *not* fastboot by default (#34228)
This commit is contained in:
parent
e83276522a
commit
5c7ab5dc08
|
@ -16,6 +16,7 @@ Release channels have their own copy of this changelog:
|
|||
* Changes
|
||||
* Added a github check to support `changelog` label
|
||||
* The default for `--use-snapshot-archives-at-startup` is now `when-newest` (#33883)
|
||||
* The default for `solana-ledger-tool`, however, remains `always` (#34228)
|
||||
* Upgrade Notes
|
||||
|
||||
## [1.17.0]
|
||||
|
|
|
@ -1246,7 +1246,7 @@ fn main() {
|
|||
.long(use_snapshot_archives_at_startup::cli::LONG_ARG)
|
||||
.takes_value(true)
|
||||
.possible_values(use_snapshot_archives_at_startup::cli::POSSIBLE_VALUES)
|
||||
.default_value(use_snapshot_archives_at_startup::cli::default_value())
|
||||
.default_value(use_snapshot_archives_at_startup::cli::default_value_for_ledger_tool())
|
||||
.help(use_snapshot_archives_at_startup::cli::HELP)
|
||||
.long_help(use_snapshot_archives_at_startup::cli::LONG_HELP);
|
||||
|
||||
|
|
|
@ -48,4 +48,8 @@ pub mod cli {
|
|||
pub fn default_value() -> &'static str {
|
||||
UseSnapshotArchivesAtStartup::default().into()
|
||||
}
|
||||
|
||||
pub fn default_value_for_ledger_tool() -> &'static str {
|
||||
UseSnapshotArchivesAtStartup::Always.into()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue