Skip to content

Commit 430f096

Browse files
committed
Update gopkg.in/yaml to v3
1 parent 91965fe commit 430f096

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/sirupsen/logrus v1.9.0
2626
github.com/spf13/cobra v1.5.0
2727
golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde
28-
gopkg.in/yaml.v2 v2.4.0
28+
gopkg.in/yaml.v3 v3.0.1
2929
)
3030

3131
require (

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bl
432432
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
433433
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
434434
gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
435-
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
436435
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
437436
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
438437
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

pkg/dazzle/project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ func loadChunks(dir fs.FS, contextBase, base, name string) (res []ProjectChunk,
331331
} else if err != nil {
332332
return nil, fmt.Errorf("%s: cannot read tests.yaml: %w", dir, err)
333333
}
334-
err = yaml.UnmarshalStrict(tf, &chk.Tests)
334+
err = yaml.Unmarshal(tf, &chk.Tests)
335335
if err != nil {
336336
return &chk, fmt.Errorf("%s: cannot read tests.yaml: %w", dir, err)
337337
}

0 commit comments

Comments
 (0)