Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump minimum required Go version to 1.16 #1032

Merged
merged 1 commit into from Apr 13, 2022
Merged

Conversation

mrueg
Copy link
Contributor

@mrueg mrueg commented Apr 13, 2022

Based on request here by @kakkoyun #1027 (review)

@bwplotka One thing I saw was that the comment here says, this is supported since go 1.15, should we remove it as well? https://github.com/prometheus/client_golang/blob/main/prometheus/collectors/go_collector_go116.go#L45

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@kakkoyun kakkoyun requested a review from bwplotka April 13, 2022 12:05
@kakkoyun
Copy link
Member

@mrueg, @bwplotka has asked a similar question to @mknyszek in #1031 (comment)

So I'd say wait a little for answer, otherwise better to remove and simplify things.

@mknyszek
Copy link
Contributor

mknyszek commented Apr 13, 2022

Definitely remove the logic working around that Go issue. As the comment says, it's been resolved since Go 1.15 (golang/go#19812).

And, AFAICT, it really was resolved. :)

Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪🏽 LGTM, let's goooo 🚀

Thanks (:

@bwplotka bwplotka merged commit 46d3dd4 into prometheus:main Apr 13, 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.

None yet

4 participants