File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change @@ -198,8 +198,6 @@ github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFt
198198github.com/shoenig/go-m1cpu v0.1.6 /go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ =
199199github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU =
200200github.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 =
203201github.com/sijms/go-ora/v2 v2.8.20 h1:VeJ97pwuIesYCeMgFmw60IiYZDst98annQCtxbLP7qU =
204202github.com/sijms/go-ora/v2 v2.8.20 /go.mod h1:EHxlY6x7y9HAsdfumurRfTd+v8NrEOTR3Xl4FWlH6xk =
205203github.com/sirupsen/logrus v1.7.0 /go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0 =
Original file line number Diff line number Diff 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
2828var (
Original file line number Diff line number Diff 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
1919var lookupsRegex = regexp .MustCompile (`\${lookup\.([^:]+):([^}]+)}` )
Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments