Skip to content

Commit

Permalink
Merge pull request #2151 from giuseppe/chunked-close-payload
Browse files Browse the repository at this point in the history
chunked: close payload stream
  • Loading branch information
openshift-merge-bot[bot] authored Oct 25, 2024
2 parents 97312d4 + 8b5dadb commit fb10c17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/chunked/storage_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -1167,6 +1167,7 @@ func (c *chunkedDiffer) copyAllBlobToFile(destination *os.File) (digest.Digest,
if payload == nil {
return "", errors.New("invalid stream returned")
}
defer payload.Close()

originalRawDigester := digest.Canonical.Digester()

Expand Down

0 comments on commit fb10c17

Please sign in to comment.