Skip to content

Commit

Permalink
first pass at OCI-compatible image manifest cache manifest moby#2251 (#1
Browse files Browse the repository at this point in the history
)

Signed-off-by: Kang, Matthew <impulsecss@gmail.com>
Signed-off-by: Matt Kang <impulsecss@gmail.com>
  • Loading branch information
kattmang committed Mar 7, 2023
1 parent 30c6912 commit d11d403
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cache/remotecache/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ func (ce *artifactContentCacheExporter) Finalize(ctx context.Context) (map[strin
Size: int64(len(dt)),
MediaType: mfst.MediaType,
}
mfstDone := progress.OneOff(ctx, fmt.Sprintf("writing kangmatt's wackyass manifest %s", dgst))

mfstDone := progress.OneOff(ctx, fmt.Sprintf("writing kangmatt's manifest %s", dgst))
if err := content.WriteBlob(ctx, ce.ingester, dgst.String(), bytes.NewReader(dt), desc); err != nil {
return nil, mfstDone(errors.Wrap(err, "error writing manifest blob"))
}
Expand Down

0 comments on commit d11d403

Please sign in to comment.