Skip to content

Comments

go.mod | go.sum: update dependencies for prometheus client_golang#1225

Merged
ChrisHines merged 3 commits intogo-kit:masterfrom
vcruzmj:master
Apr 23, 2022
Merged

go.mod | go.sum: update dependencies for prometheus client_golang#1225
ChrisHines merged 3 commits intogo-kit:masterfrom
vcruzmj:master

Conversation

@vcruzmj
Copy link
Contributor

@vcruzmj vcruzmj commented Apr 21, 2022

Update dependency for vulnerability on https://nvd.nist.gov/vuln/detail/CVE-2022-21698
Issue: #1224

@ChrisHines
Copy link
Member

What version of Go and what commands did you use to create this PR? The changes here seem too extensive for upgrading one module. I am especially surprised to see some modules move to older versions.

I seem to get much more modest changes with Go 1.18 and these commands:

$ go get github.com/prometheus/client_golang@v1.11.1
$ go mod tidy

@vcruzmj
Copy link
Contributor Author

vcruzmj commented Apr 23, 2022

Sorry, rookie mistake, I mess up with the github.com/prometheus/common indirect dependency, but that change is unnecessary and invasive, and your approach solve the vulnerability. I just commit that.

@ChrisHines
Copy link
Member

OK. Thanks for the updates.

I'm kicking off the builds.

@ChrisHines ChrisHines merged commit d7cefca into go-kit:master Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants