Merge pull request #46418 from vvoland/c8d-import-fix-double-close
c8d/import: Don't close compressed stream twice
This commit is contained in:
commit
de391bc48b
1 changed files with 0 additions and 1 deletions
|
@ -258,7 +258,6 @@ func compressAndWriteBlob(ctx context.Context, cs content.Store, compression arc
|
|||
if err != nil {
|
||||
return "", "", errdefs.InvalidParameter(err)
|
||||
}
|
||||
defer compressor.Close()
|
||||
|
||||
writeChan := make(chan digest.Digest)
|
||||
// Start copying the blob to the content store from the pipe.
|
||||
|
|
Loading…
Add table
Reference in a new issue