Skip to content

Commit

Permalink
Use yaml.v3 to drop yaml.v2 direct dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Mikel Olasagasti Uranga <[email protected]>
  • Loading branch information
mikelolasagasti committed Aug 21, 2024
1 parent 1bed786 commit 1ff6fe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ require (
github.com/prometheus/exporter-toolkit v0.11.0
golang.org/x/net v0.27.0
google.golang.org/grpc v1.65.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
)

Expand All @@ -37,4 +36,5 @@ require (
golang.org/x/tools v0.22.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
2 changes: 1 addition & 1 deletion prober/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/prometheus/common/expfmt"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

var (
Expand Down

0 comments on commit 1ff6fe7

Please sign in to comment.