Skip to content

Commit

Permalink
Merge pull request #484 from changweige/prepare-0.8.2
Browse files Browse the repository at this point in the history
Pick some stable patches from main branch, prepare v0.8.2
  • Loading branch information
imeoer authored May 22, 2023
2 parents 580487c + b31afe0 commit 92ed522
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/converter/convert_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ func unpackNydusBlob(bootDst, blobDst string, ra content.ReaderAt, unpackBlob bo
defer blob.Close()

if _, err = UnpackEntry(ra, EntryBlob, blob); err != nil {
if errors.Is(err, ErrNotFound) {
// The nydus layer may contain only bootstrap and no blob
// data, which should be ignored.
return nil
}
return errors.Wrap(err, "unpack blob from nydus")
}
}
Expand Down

0 comments on commit 92ed522

Please sign in to comment.