Skip to content

Commit 760a54c

Browse files
Update module gopkg.in/yaml.v2 to v3 (#157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 836ff75 commit 760a54c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/slack-go/slack v0.12.1
1010
github.com/spf13/pflag v1.0.5
1111
github.com/traefik/traefik/v2 v2.6.7
12-
gopkg.in/yaml.v2 v2.4.0
12+
gopkg.in/yaml.v3 v3.0.1
1313
k8s.io/apimachinery v0.26.0
1414
k8s.io/client-go v0.26.0
1515
)
@@ -57,7 +57,7 @@ require (
5757
google.golang.org/appengine v1.6.7 // indirect
5858
google.golang.org/protobuf v1.28.1 // indirect
5959
gopkg.in/inf.v0 v0.9.1 // indirect
60-
gopkg.in/yaml.v3 v3.0.1 // indirect
60+
gopkg.in/yaml.v2 v2.4.0 // indirect
6161
k8s.io/api v0.26.0 // indirect
6262
k8s.io/klog/v2 v2.80.1 // indirect
6363
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect

internal/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/cloudflare/cloudflare-go"
88

99
log "github.com/sirupsen/logrus"
10-
"gopkg.in/yaml.v2"
10+
"gopkg.in/yaml.v3"
1111
)
1212

1313
type Configuration struct {

0 commit comments

Comments
 (0)