Skip to content

Commit ef78522

Browse files
committed
Consolidate to yaml.v3; removing yaml.v2.
1 parent 9c1f68c commit ef78522

4 files changed

Lines changed: 2 additions & 5 deletions

File tree

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ require (
3535
github.com/spf13/cobra v1.10.1
3636
github.com/spf13/pflag v1.0.10
3737
github.com/spf13/viper v1.21.0
38-
gopkg.in/yaml.v2 v2.4.0
3938
k8s.io/api v0.34.2
4039
k8s.io/apimachinery v0.34.2
4140
k8s.io/cli-runtime v0.34.2

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,6 @@ gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
343343
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
344344
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
345345
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
346-
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
347-
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
348346
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
349347
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
350348
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

internal/pkg/engine/engine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"github.com/prequel-dev/prequel-logmatch/pkg/entry"
2525
lm "github.com/prequel-dev/prequel-logmatch/pkg/match"
2626
"github.com/prequel-dev/prequel-logmatch/pkg/scanner"
27-
"gopkg.in/yaml.v2"
27+
"gopkg.in/yaml.v3"
2828

2929
"github.com/jedib0t/go-pretty/v6/progress"
3030
"github.com/rs/zerolog/log"

internal/pkg/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717

1818
"github.com/prequel-dev/prequel-compiler/pkg/parser"
1919

20-
"gopkg.in/yaml.v2"
20+
"gopkg.in/yaml.v3"
2121
utilyaml "k8s.io/apimachinery/pkg/util/yaml"
2222
)
2323

0 commit comments

Comments
 (0)