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

Upgrade to go 1.16, upgrade dependencies and stop using deprecated method #13

Merged
merged 1 commit into from
Jun 24, 2021

Conversation

asherf
Copy link
Contributor

@asherf asherf commented Jun 23, 2021

https://pkg.go.dev/k8s.io/client-go/informers#NewFilteredSharedInformerFactory

I am a go noob, so I am not sure if I updated the dependencies in a correct way, the code builds & runs (tested it in an out-of-cluster mode) so I think it is ok, happy to tweak if further if needed.
I used go get -u ./... based on https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies

…thod

https://pkg.go.dev/k8s.io/client-go/informers#NewFilteredSharedInformerFactory

I am a go noob, so I am not sure if I updated the dependencies in a correct way, the code builds & runs (tested it in an out-of-cluster mode) so I think it is ok, happy to tweak if further if needed.
I used `go get -u ./...` based on https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies
@joe-elliott
Copy link
Member

As you can tell the tests on this repo are non-existent.

Thank you for the improvement! I'll merge and build and give it a run in our clusters.

@joe-elliott joe-elliott merged commit 681b3e1 into grafana:master Jun 24, 2021
@asherf asherf deleted the upgrades branch June 24, 2021 18:37
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

2 participants