Skip to content

Commit

Permalink
fix error MediaType when get dup manifest from db
Browse files Browse the repository at this point in the history
  • Loading branch information
fourierrr committed Oct 15, 2024
1 parent db1d6fc commit c5a42ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/convertor/builder/overlaybd_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ func (e *overlaybdBuilderEngine) CheckForConvertedManifest(ctx context.Context)
entry := e.db.GetManifestEntryForRepo(ctx, e.host, e.repository, e.mediaTypeManifest(), e.inputDesc.Digest)
if entry != nil && entry.ConvertedDigest != "" {
convertedDesc := specs.Descriptor{
MediaType: e.mediaTypeImageLayer(),
MediaType: e.mediaTypeManifest(),
Digest: entry.ConvertedDigest,
Size: entry.DataSize,
}
Expand Down

0 comments on commit c5a42ef

Please sign in to comment.