File tree Expand file tree Collapse file tree 7 files changed +8
-256
lines changed
Expand file tree Collapse file tree 7 files changed +8
-256
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ require (
3333 go.uber.org/ratelimit v0.3.1
3434 golang.org/x/crypto v0.41.0
3535 golang.org/x/net v0.42.0
36- gopkg.in/yaml.v2 v2.4.0
36+ gopkg.in/yaml.v3 v3.0.1
3737 gotest.tools v2.2.0+incompatible
3838)
3939
@@ -121,6 +121,5 @@ require (
121121 golang.org/x/text v0.28.0 // indirect
122122 google.golang.org/protobuf v1.36.5 // indirect
123123 gopkg.in/warnings.v0 v0.1.2 // indirect
124- gopkg.in/yaml.v3 v3.0.1 // indirect
125124 howett.net/plist v1.0.0 // indirect
126125)
Load Diff Large diffs are not rendered by default.
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 @@ -23,7 +23,7 @@ import (
2323 "github.com/aws/aws-sdk-go-v2/config"
2424 "github.com/aws/aws-sdk-go-v2/service/kms"
2525 "github.com/sirupsen/logrus"
26- "gopkg.in/yaml.v2 "
26+ "gopkg.in/yaml.v3 "
2727
2828 "github.com/newrelic/nri-flex/internal/load"
2929 "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