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

Update client-go to v0.18.0 and add required context #191

Merged
merged 1 commit into from
Mar 31, 2020
Merged

Conversation

linki
Copy link
Owner

@linki linki commented Mar 31, 2020

Updates client-go to the latest version.

The functions now take a context.Context as the first parameter and non-pointer *Options structs. I updated the calls accordingly. For now I used context.TODO() because I'm not sure which context is suitable.

It probably makes sense to change chaoskube's functions to take a context.Context as well and then propagate it down to client-go's functions. But that can be done in another PR.

@linki linki merged commit 406f4bc into master Mar 31, 2020
@linki linki deleted the client-go-0.18.0 branch March 31, 2020 21:17
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.

1 participant