File tree Expand file tree Collapse file tree 13 files changed +46
-55
lines changed
Expand file tree Collapse file tree 13 files changed +46
-55
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
2222 "path/filepath"
2323 "strings"
2424
25- "sigs.k8s.io /yaml"
25+ "gopkg.in /yaml.v2 "
2626)
2727
2828func chooseFormat (format string , path string ) string {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
2222 "os"
2323
2424 oci "github.com/opencontainers/runtime-spec/specs-go"
25- "sigs.k8s.io /yaml"
25+ "gopkg.in /yaml.v2 "
2626
2727 "github.com/spf13/cobra"
2828)
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ require (
77 github.com/opencontainers/runtime-spec v1.1.0
88 github.com/opencontainers/runtime-tools v0.9.1-0.20221107090550-2e043c6bd626
99 github.com/spf13/cobra v1.6.0
10- sigs.k8s.io /yaml v1.3 .0
10+ gopkg.in /yaml.v2 v2.4 .0
1111 tags.cncf.io/container-device-interface v0.0.0
1212)
1313
@@ -21,7 +21,6 @@ require (
2121 github.com/xeipuuv/gojsonschema v1.2.0 // indirect
2222 golang.org/x/mod v0.19.0 // indirect
2323 golang.org/x/sys v0.19.0 // indirect
24- gopkg.in/yaml.v2 v2.4.0 // indirect
2524 tags.cncf.io/container-device-interface/specs-go v0.8.0 // indirect
2625)
2726
Original file line number Diff line number Diff line change @@ -58,5 +58,3 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
5858gopkg.in/yaml.v2 v2.4.0 /go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ =
5959gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
6060gopkg.in/yaml.v3 v3.0.1 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
61- sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo =
62- sigs.k8s.io/yaml v1.3.0 /go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8 =
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ require (
99 github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
1010 github.com/xeipuuv/gojsonschema v1.2.0 // indirect
1111 gopkg.in/yaml.v2 v2.4.0 // indirect
12- sigs.k8s.io/yaml v1.3.0 // indirect
1312)
1413
1514replace tags.cncf.io/container-device-interface => ../..
Original file line number Diff line number Diff line change 11github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
22github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
3- github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
43github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI =
54github.com/opencontainers/runtime-spec v1.1.0 h1:HHUyrt9mwHUjtasSbXSMvs4cyFxh+Bll4AjJ9odEGpg =
65github.com/opencontainers/runtime-tools v0.9.1-0.20221107090550-2e043c6bd626 h1:DmNGcqH3WDbV5k8OJ+esPWbqUOX5rMLR2PMvziDMJi0 =
@@ -23,5 +22,3 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8
2322gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY =
2423gopkg.in/yaml.v2 v2.4.0 /go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ =
2524gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
26- sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo =
27- sigs.k8s.io/yaml v1.3.0 /go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8 =
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ require (
99 github.com/stretchr/testify v1.7.0
1010 github.com/xeipuuv/gojsonschema v1.2.0
1111 golang.org/x/sys v0.19.0
12- sigs.k8s.io /yaml v1.3 .0
12+ gopkg.in /yaml.v2 v2.4 .0
1313 tags.cncf.io/container-device-interface/specs-go v0.8.0
1414)
1515
@@ -20,7 +20,6 @@ require (
2020 github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
2121 github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
2222 golang.org/x/mod v0.19.0 // indirect
23- gopkg.in/yaml.v2 v2.4.0 // indirect
2423 gopkg.in/yaml.v3 v3.0.1 // indirect
2524)
2625
Original file line number Diff line number Diff line change @@ -51,5 +51,3 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
5151gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
5252gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
5353gopkg.in/yaml.v3 v3.0.1 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
54- sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo =
55- sigs.k8s.io/yaml v1.3.0 /go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8 =
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ import (
2929
3030 oci "github.com/opencontainers/runtime-spec/specs-go"
3131 "github.com/stretchr/testify/require"
32- "sigs.k8s.io/yaml"
32+ "gopkg.in/yaml.v2"
33+
3334 "tags.cncf.io/container-device-interface/pkg/cdi/validate"
3435 cdi "tags.cncf.io/container-device-interface/specs-go"
3536)
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525 "sync"
2626
2727 oci "github.com/opencontainers/runtime-spec/specs-go"
28- "sigs.k8s.io /yaml"
28+ "gopkg.in /yaml.v2 "
2929
3030 "tags.cncf.io/container-device-interface/internal/validation"
3131 "tags.cncf.io/container-device-interface/pkg/parser"
You can’t perform that action at this time.
0 commit comments