File tree Expand file tree Collapse file tree 7 files changed +27
-462
lines changed
Expand file tree Collapse file tree 7 files changed +27
-462
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ require (
3232 go.uber.org/ratelimit v0.2.0
3333 golang.org/x/crypto v0.23.0
3434 golang.org/x/net v0.25.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
@@ -95,6 +95,5 @@ require (
9595 golang.org/x/tools v0.13.0 // indirect
9696 google.golang.org/protobuf v1.31.0 // indirect
9797 gopkg.in/warnings.v0 v0.1.2 // indirect
98- gopkg.in/yaml.v3 v3.0.1 // indirect
9998 howett.net/plist v1.0.0 // indirect
10099)
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 @@ -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