Skip to content

Commit

Permalink
vendor: github.com/opencontainers/image-spec v1.0.2
Browse files Browse the repository at this point in the history
- Bring mediaType out of reserved status
- specs-go: adding mediaType to the index and manifest structures

full diff: opencontainers/image-spec@v1.0.1...v1.0.2

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit cef0a7c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Nov 17, 2021
1 parent 10106a0 commit dc01597
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
6 changes: 1 addition & 5 deletions integration/plugin/common/plugin_test.go
Expand Up @@ -276,11 +276,7 @@ func TestPluginBackCompatMediaTypes(t *testing.T) {
assert.NilError(t, err)
defer rdr.Close()

type manifest struct {
MediaType string
v1.Manifest
}
var m manifest
var m v1.Manifest
assert.NilError(t, json.NewDecoder(rdr).Decode(&m))
assert.Check(t, cmp.Equal(m.MediaType, images.MediaTypeDockerSchema2Manifest))
assert.Check(t, cmp.Len(m.Layers, 1))
Expand Down
2 changes: 1 addition & 1 deletion vendor.conf
Expand Up @@ -92,7 +92,7 @@ google.golang.org/grpc f495f5b15ae7ccda3b38c53a1bfc
# packages but should be newer or equal.
github.com/opencontainers/runc ff819c7e9184c13b7c2607fe6c30ae19403a7aff # v1.0.0-rc92
github.com/opencontainers/runtime-spec 4d89ac9fbff6c455f46a5bb59c6b1bb7184a5e43 # v1.0.3-0.20200728170252-4d89ac9fbff6
github.com/opencontainers/image-spec d60099175f88c47cd379c4738d158884749ed235 # v1.0.1
github.com/opencontainers/image-spec 67d2d5658fe0476ab9bf414cec164077ebff3920 # v1.0.2
github.com/cyphar/filepath-securejoin a261ee33d7a517f054effbf451841abaafe3e0fd # v0.2.2

# go-systemd v17 is required by github.com/coreos/pkg/capnslog/journald_formatter.go
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dc01597

Please sign in to comment.