Skip to content

Commit

Permalink
merge branch 'pr-794'
Browse files Browse the repository at this point in the history
Vanessa Sochat (1):
  mediatype of layers should be application/vnd.oci.image.layer.v1.tar+gzip

LGTMs: @vbatts @cyphar
Closes #794
  • Loading branch information
cyphar committed Dec 18, 2019
2 parents 775207b + 8c25739 commit 9ea04d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions schema/manifest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,17 +188,17 @@ func TestManifest(t *testing.T) {
},
"layers": [
{
"mediaType": "application/vnd.oci.image.config.v1+json",
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
"size": 1470,
"digest": "sha256+foo-bar:c86f7763873b6c0aae22d963bab59b4f5debbed6685761b5951584f6efb0633b"
},
{
"mediaType": "application/vnd.oci.image.config.v1+json",
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
"size": 1470,
"digest": "sha256.foo-bar:c86f7763873b6c0aae22d963bab59b4f5debbed6685761b5951584f6efb0633b"
},
{
"mediaType": "application/vnd.oci.image.config.v1+json",
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
"size": 1470,
"digest": "multihash+base58:QmRZxt2b1FVZPNqd8hsiykDL3TdBDeTSPX9Kv46HmX4Gx8"
}
Expand All @@ -219,7 +219,7 @@ func TestManifest(t *testing.T) {
},
"layers": [
{
"mediaType": "application/vnd.oci.image.config.v1+json",
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
"size": 1470,
"digest": "sha256+foo+-b:c86f7763873b6c0aae22d963bab59b4f5debbed6685761b5951584f6efb0633b"
}
Expand Down

0 comments on commit 9ea04d1

Please sign in to comment.