-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update to golang-1.15.3 #1261
Update to golang-1.15.3 #1261
Conversation
/assign @tariq1890 |
b6b260a
to
797e7ea
Compare
Makefile
Outdated
@@ -12,7 +12,7 @@ BuildDate = $(shell date -u +'%Y-%m-%dT%H:%M:%SZ') | |||
GIT_COMMIT ?= $(shell git rev-parse --short HEAD) | |||
ALL_ARCH = amd64 arm arm64 ppc64le s390x | |||
PKG = k8s.io/kube-state-metrics/v2/pkg | |||
GO_VERSION = 1.14.7 | |||
GO_VERSION = 1.14.10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind making the change to 1.15.3 all over the repo? Planned on doing the switch myself but since you opened the PR.
We have a few other places if you are willing to migrate to 1.15 :)
https://github.com/kubernetes/kube-state-metrics/blob/f1166b40298a6846a329f567d0d509d32ee45a81/.github/workflows/ci.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, will do!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment, otherwise 👍
@@ -28,4 +28,4 @@ require ( | |||
k8s.io/klog/v2 v2.2.0 | |||
) | |||
|
|||
go 1.14 | |||
go 1.15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed as we are not using anything specific to go 1.15 so our users don't require to switch to 1.15, so should be compatible with 1.14.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I fixed it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lilic, mrueg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Move to latest version of golang (1.15)