Skip to content

Commit

Permalink
Merge pull request #308 from fourierrr/main
Browse files Browse the repository at this point in the history
fix error MediaType when get dup manifest from db
  • Loading branch information
liulanzheng authored Oct 15, 2024
2 parents db1d6fc + 573afbb commit d2698f7
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 d2698f7

Please sign in to comment.