summaryrefslogtreecommitdiff
path: root/integration/plugin
diff options
context:
space:
mode:
authorJeyanthinath Muthuram <jeyanthinath10@gmail.com>2023-05-08 15:27:52 +0530
committerJeyanthinath Muthuram <jeyanthinath10@gmail.com>2023-05-08 15:27:52 +0530
commit307b09e7eb14e48a66752b036fb2a2eb53fa599c (patch)
treef8a2e154524ef388c3f3f5feb904756468649ead /integration/plugin
parentc651a535588402f27d8f1a1408c794fc3289f39f (diff)
downloaddocker-307b09e7eb14e48a66752b036fb2a2eb53fa599c.tar.gz
fixing consistent aliases for OCI spec imports
Signed-off-by: Jeyanthinath Muthuram <jeyanthinath10@gmail.com>
Diffstat (limited to 'integration/plugin')
-rw-r--r--integration/plugin/common/plugin_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration/plugin/common/plugin_test.go b/integration/plugin/common/plugin_test.go
index 3c6670a5ee..630d4a09c3 100644
--- a/integration/plugin/common/plugin_test.go
+++ b/integration/plugin/common/plugin_test.go
@@ -23,7 +23,7 @@ import (
"github.com/docker/docker/testutil/fixtures/plugin"
"github.com/docker/docker/testutil/registry"
"github.com/docker/docker/testutil/request"
- v1 "github.com/opencontainers/image-spec/specs-go/v1"
+ ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotest.tools/v3/skip"
@@ -306,7 +306,7 @@ func TestPluginBackCompatMediaTypes(t *testing.T) {
assert.NilError(t, err)
defer rdr.Close()
- var m v1.Manifest
+ var m ocispec.Manifest
assert.NilError(t, json.NewDecoder(rdr).Decode(&m))
assert.Check(t, is.Equal(m.MediaType, images.MediaTypeDockerSchema2Manifest))
assert.Check(t, is.Len(m.Layers, 1))