diff --git a/docs/storage/blobwriter.go b/docs/storage/blobwriter.go index 7f280d36..418df818 100644 --- a/docs/storage/blobwriter.go +++ b/docs/storage/blobwriter.go @@ -56,6 +56,8 @@ func (bw *blobWriter) Commit(ctx context.Context, desc distribution.Descriptor) return distribution.Descriptor{}, err } + bw.Close() + canonical, err := bw.validateBlob(ctx, desc) if err != nil { return distribution.Descriptor{}, err