Skip to content

Commit

Permalink
Use AtomicAppendVecId type alias in verify_and_unarchive_snapshot() (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Nov 12, 2023
1 parent e457c02 commit ae30572
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions runtime/src/snapshot_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use {
path::{Path, PathBuf},
process::ExitStatus,
str::FromStr,
sync::{atomic::AtomicU32, Arc, Mutex},
sync::{Arc, Mutex},
thread::{Builder, JoinHandle},
},
tar::{self, Archive},
Expand Down Expand Up @@ -1234,7 +1234,11 @@ pub fn verify_and_unarchive_snapshots(
full_snapshot_archive_info: &FullSnapshotArchiveInfo,
incremental_snapshot_archive_info: Option<&IncrementalSnapshotArchiveInfo>,
account_paths: &[PathBuf],
) -> Result<(UnarchivedSnapshot, Option<UnarchivedSnapshot>, AtomicU32)> {
) -> Result<(
UnarchivedSnapshot,
Option<UnarchivedSnapshot>,
AtomicAppendVecId,
)> {
check_are_snapshots_compatible(
full_snapshot_archive_info,
incremental_snapshot_archive_info,
Expand Down

0 comments on commit ae30572

Please sign in to comment.