Skip to content

Commit

Permalink
fix(deps): update module gopkg.in/yaml.v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jul 16, 2024
1 parent de019d2 commit 1186c25
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 565 deletions.
30 changes: 16 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ require (
github.com/stretchr/testify v1.9.0
github.com/vertica/vertica-sql-go v1.3.3
go.uber.org/ratelimit v0.2.0
golang.org/x/crypto v0.23.0
golang.org/x/net v0.25.0
gopkg.in/yaml.v2 v2.4.0
golang.org/x/crypto v0.24.0
golang.org/x/net v0.26.0
gopkg.in/yaml.v3 v3.0.1
gotest.tools v2.2.0+incompatible
)

Expand All @@ -45,10 +45,10 @@ require (
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 // indirect
github.com/bitly/go-simplejson v0.5.0 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/distribution v2.8.2+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/elastic/go-sysinfo v1.10.1 // indirect
Expand All @@ -57,7 +57,7 @@ require (
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
Expand Down Expand Up @@ -93,16 +93,18 @@ require (
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/otel v1.28.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 // indirect
go.opentelemetry.io/otel/metric v1.28.0 // indirect
go.opentelemetry.io/otel/sdk v1.28.0 // indirect
go.opentelemetry.io/otel/trace v1.28.0 // indirect
golang.org/x/exp v0.0.0-20220713135740-79cabaa25d75 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/tools v0.13.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
howett.net/plist v1.0.0 // indirect
)
612 changes: 66 additions & 546 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/sirupsen/logrus"

"go.uber.org/ratelimit"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/config/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/newrelic/nri-flex/internal/inputs"
"github.com/newrelic/nri-flex/internal/load"
"github.com/sirupsen/logrus"
yaml "gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v3"
)

var lookupsRegex = regexp.MustCompile(`\${lookup\.([^:]+):([^}]+)}`)
Expand Down
2 changes: 1 addition & 1 deletion internal/config/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/kms"
"github.com/sirupsen/logrus"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

"github.com/newrelic/nri-flex/internal/load"
"github.com/newrelic/nri-flex/internal/utils"
Expand Down
2 changes: 1 addition & 1 deletion internal/config/substitutions.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/newrelic/nri-flex/internal/formatter"
"github.com/newrelic/nri-flex/internal/load"
"github.com/sirupsen/logrus"
yaml "gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v3"
)

// SubLookupFileData substitutes data from lookup files into config
Expand Down
2 changes: 1 addition & 1 deletion internal/discovery/fargate.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/newrelic/nri-flex/internal/formatter"
"github.com/newrelic/nri-flex/internal/load"
"github.com/sirupsen/logrus"
yaml "gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v3"
)

// runFargateDiscovery check aws metadata endpoint for containers
Expand Down

0 comments on commit 1186c25

Please sign in to comment.