Skip to content

Commit

Permalink
fix(deps): update module gopkg.in/yaml.v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Oct 11, 2024
1 parent ed099c7 commit 30624d8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
"github.com/tidwall/sjson"
"github.com/youthlin/stream"
streamtypes "github.com/youthlin/stream/types"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/youthlin/stream"
streamtypes "github.com/youthlin/stream/types"
"golang.org/x/oauth2"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

"github.com/pingcap/monitoring/pkg/ansible"
"github.com/pingcap/monitoring/pkg/common"
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/tidwall/sjson v1.2.5
github.com/youthlin/stream v0.0.3
golang.org/x/oauth2 v0.23.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
k8s.io/client-go v12.0.0+incompatible
)

Expand Down Expand Up @@ -95,7 +95,7 @@ require (
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/api v0.0.0-20190720062849-3043179095b6 // indirect
k8s.io/apimachinery v0.0.0-20190719140911-bfcf53abc9f8 // indirect
k8s.io/klog v0.3.1 // indirect
Expand Down
2 changes: 1 addition & 1 deletion pkg/operator/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/prometheus/prometheus/pkg/rulefmt"
"github.com/youthlin/stream"
streamtypes "github.com/youthlin/stream/types"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion reload/server/bizlogic/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/prometheus/prometheus/pkg/rulefmt"
"github.com/youthlin/stream"
streamtypes "github.com/youthlin/stream/types"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

type server struct {
Expand Down

0 comments on commit 30624d8

Please sign in to comment.