assembler/oci-archive: fix layer media type

When media type (mime type) of the layer was missing the "+"
separator between the compression and then base type.
This commit is contained in:
Christian Kellner 2021-02-10 18:35:22 +00:00
parent a4127cce66
commit f11817a1fa

View file

@ -167,7 +167,7 @@ def blobs_add_layer(blobs: str, tree: str):
layer_file += suffix
info = blobs_add_file(blobs, layer_file, "layer")
info["mediaType"] += compression
info["mediaType"] += "+" + compression
return digest, info