Skip to content

Commit

Permalink
bundle: Don't extract container image layer twice
Browse files Browse the repository at this point in the history
The same code is repeated twice, probably because of a rebase issue.
  • Loading branch information
cfergeau authored and praveenkumar committed Jul 21, 2022
1 parent b9a345d commit 316979d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/crc/image/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,6 @@ func PullBundle(preset crcpreset.Preset) error {
if err != nil {
return err
}
_, err = extract.Uncompress(filepath.Join(destDir, imgLayer), constants.MachineCacheDir, true)
if err != nil {
return err
}

fileList, err := extract.Uncompress(filepath.Join(destDir, imgLayer), constants.MachineCacheDir, true)
if err != nil {
return err
Expand Down

0 comments on commit 316979d

Please sign in to comment.