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:
parent
a4127cce66
commit
f11817a1fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue