Skip to content

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
miz060 committed Jan 7, 2025
1 parent 2d3c817 commit 6930855
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tardev-snapshotter/src/snapshotter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -909,9 +909,6 @@ impl TarDevSnapshotter {
let mut gz_decoder = flate2::read::GzDecoder::new(compressed);
std::io::copy(&mut gz_decoder, &mut file)
.context("failed to copy payload from gz decoder")?;
} else {
let mut tar_file = fs::File::open(&target_name)?;
std::io::copy(&mut tar_file, &mut file).context("failed to copy payload from gz decoder")?;
}

trace!("Appending index to {:?}", &name);
Expand Down

0 comments on commit 6930855

Please sign in to comment.