Rename maximum_full_snapshot_archives_to_retain (#19610)

To prepare for adding maximum_incremental_snapshot_archives_to_retain,
rename the current field in SnapshotConfig.
This commit is contained in:
Brooks Prumo
2021-09-03 11:28:10 -05:00
committed by GitHub
parent df040c05da
commit 7ab0aec61f
11 changed files with 23 additions and 18 deletions

View File

@ -718,7 +718,7 @@ fn load_bank_forks(
bank_snapshots_dir,
archive_format: ArchiveFormat::TarBzip2,
snapshot_version: SnapshotVersion::default(),
maximum_snapshots_to_retain: DEFAULT_MAX_FULL_SNAPSHOT_ARCHIVES_TO_RETAIN,
maximum_full_snapshot_archives_to_retain: DEFAULT_MAX_FULL_SNAPSHOT_ARCHIVES_TO_RETAIN,
})
};
let account_paths = if let Some(account_paths) = arg_matches.value_of("account_paths") {