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 @@ -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