Skip to content

Commit 23043dd

Browse files
fix(deps): update module gopkg.in/yaml.v2 to v3
1 parent feaeccf commit 23043dd

7 files changed

Lines changed: 6 additions & 9 deletions

File tree

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ require (
3232
go.uber.org/ratelimit v0.3.1
3333
golang.org/x/crypto v0.25.0
3434
golang.org/x/net v0.27.0
35-
gopkg.in/yaml.v2 v2.4.0
35+
gopkg.in/yaml.v3 v3.0.1
3636
gotest.tools v2.2.0+incompatible
3737
)
3838

@@ -106,6 +106,5 @@ require (
106106
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
107107
google.golang.org/protobuf v1.34.2 // indirect
108108
gopkg.in/warnings.v0 v0.1.2 // indirect
109-
gopkg.in/yaml.v3 v3.0.1 // indirect
110109
howett.net/plist v1.0.0 // indirect
111110
)

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,6 @@ github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFt
198198
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
199199
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=
200200
github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k=
201-
github.com/sijms/go-ora/v2 v2.8.19 h1:7LoKZatDYGi18mkpQTR/gQvG9yOdtc7hPAex96Bqisc=
202-
github.com/sijms/go-ora/v2 v2.8.19/go.mod h1:EHxlY6x7y9HAsdfumurRfTd+v8NrEOTR3Xl4FWlH6xk=
203201
github.com/sijms/go-ora/v2 v2.8.20 h1:VeJ97pwuIesYCeMgFmw60IiYZDst98annQCtxbLP7qU=
204202
github.com/sijms/go-ora/v2 v2.8.20/go.mod h1:EHxlY6x7y9HAsdfumurRfTd+v8NrEOTR3Xl4FWlH6xk=
205203
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"github.com/sirupsen/logrus"
2323

2424
"go.uber.org/ratelimit"
25-
"gopkg.in/yaml.v2"
25+
"gopkg.in/yaml.v3"
2626
)
2727

2828
var (

internal/config/fetch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/newrelic/nri-flex/internal/inputs"
1414
"github.com/newrelic/nri-flex/internal/load"
1515
"github.com/sirupsen/logrus"
16-
yaml "gopkg.in/yaml.v2"
16+
yaml "gopkg.in/yaml.v3"
1717
)
1818

1919
var lookupsRegex = regexp.MustCompile(`\${lookup\.([^:]+):([^}]+)}`)

internal/config/secrets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"github.com/aws/aws-sdk-go/aws/session"
2222
"github.com/aws/aws-sdk-go/service/kms"
2323
"github.com/sirupsen/logrus"
24-
"gopkg.in/yaml.v2"
24+
"gopkg.in/yaml.v3"
2525

2626
"github.com/newrelic/nri-flex/internal/load"
2727
"github.com/newrelic/nri-flex/internal/utils"

internal/config/substitutions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"github.com/newrelic/nri-flex/internal/formatter"
1919
"github.com/newrelic/nri-flex/internal/load"
2020
"github.com/sirupsen/logrus"
21-
yaml "gopkg.in/yaml.v2"
21+
yaml "gopkg.in/yaml.v3"
2222
)
2323

2424
// SubLookupFileData substitutes data from lookup files into config

internal/discovery/fargate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"github.com/newrelic/nri-flex/internal/formatter"
1717
"github.com/newrelic/nri-flex/internal/load"
1818
"github.com/sirupsen/logrus"
19-
yaml "gopkg.in/yaml.v2"
19+
yaml "gopkg.in/yaml.v3"
2020
)
2121

2222
// runFargateDiscovery check aws metadata endpoint for containers

0 commit comments

Comments
 (0)