Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
ghubertpalo committed Jul 11, 2023
1 parent ef058aa commit da54c0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mithril-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mithril-client"
version = "0.3.17"
version = "0.3.18"
description = "A Mithril Client"
authors = { workspace = true }
edition = { workspace = true }
Expand Down
5 changes: 3 additions & 2 deletions mithril-client/src/utils/unpacker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ impl SnapshotUnpacker {
dirpath: unpack_dir.to_owned(),
error: e.into(),
})?;
// Try to force the file read to start at 0. We need to determine if
// this fixes instabilities in CI.
// Try to force the file read to start at 0.
// This seems to fix a crash when the unpacker tries to iterate
// over archive content.
snapshot_file_tar_gz.seek(SeekFrom::Start(0))?;
let snapshot_file_tar = GzDecoder::new(snapshot_file_tar_gz);
let mut snapshot_archive = Archive::new(snapshot_file_tar);
Expand Down

0 comments on commit da54c0f

Please sign in to comment.