Skip to content

Commit

Permalink
chore: upgrade gopkg.in/yaml to v3 (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlong authored Aug 4, 2023
1 parent d3f4b92 commit 09d8ba7
Show file tree
Hide file tree
Showing 22 changed files with 2 additions and 10,042 deletions.
2 changes: 1 addition & 1 deletion src/cmd/metric-scraper/app/metric_scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/http"
"time"

"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

metrics "code.cloudfoundry.org/go-metric-registry"
"code.cloudfoundry.org/tlsconfig"
Expand Down
3 changes: 1 addition & 2 deletions src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/prometheus/common v0.44.0
golang.org/x/sync v0.3.0
google.golang.org/grpc v1.57.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
)

require (
Expand Down Expand Up @@ -54,5 +54,4 @@ require (
google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
2 changes: 0 additions & 2 deletions src/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,6 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
17 changes: 0 additions & 17 deletions src/vendor/gopkg.in/yaml.v2/.travis.yml

This file was deleted.

201 changes: 0 additions & 201 deletions src/vendor/gopkg.in/yaml.v2/LICENSE

This file was deleted.

31 changes: 0 additions & 31 deletions src/vendor/gopkg.in/yaml.v2/LICENSE.libyaml

This file was deleted.

13 changes: 0 additions & 13 deletions src/vendor/gopkg.in/yaml.v2/NOTICE

This file was deleted.

Loading

0 comments on commit 09d8ba7

Please sign in to comment.