Skip to content

Commit

Permalink
Rely on OpenWriter for retrying opening writer
Browse files Browse the repository at this point in the history
Signed-off-by: Kohei Tokunaga <[email protected]>
  • Loading branch information
ktock committed Dec 10, 2024
1 parent 570ba70 commit 9b706a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nativeconverter/zstdchunked/zstdchunked.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func LayerConvertFuncWithCompressionLevel(compressionLevel zstd.EncoderLevel, op
}
defer blob.Close()
ref := fmt.Sprintf("convert-zstdchunked-from-%s", desc.Digest)
w, err := cs.Writer(ctx, content.WithRef(ref))
w, err := content.OpenWriter(ctx, cs, content.WithRef(ref))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9b706a2

Please sign in to comment.