Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Update runtime/src/snapshot_utils.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Brooks <[email protected]>
  • Loading branch information
xiangzhu70 and brooksprumo authored Jan 5, 2023
1 parent 340f1c9 commit a45da45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/src/snapshot_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -866,10 +866,9 @@ fn hard_link_appendvec_files_to_snapshot(
));
fs::hard_link(&path, &hard_link_path).map_err(|e| {
let err_msg = format!(
"hard-link appendvec file {} to {} failed. Error: {}",
"hard-link appendvec file {} to {} failed. Error: {e}",
path.display(),
hard_link_path.display(),
e,
);
SnapshotError::Io(IoError::new(ErrorKind::Other, err_msg))
})?;
Expand Down

0 comments on commit a45da45

Please sign in to comment.