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

chore(*): Bumps krustlet to use the 2021 edition #696

Merged
merged 2 commits into from Oct 22, 2021

Conversation

thomastaylor312
Copy link
Member

We've been tracking and using most of the latest rust features anyway, so
this seems to make sense

@thomastaylor312 thomastaylor312 changed the title chore(*): Bumps bindle to use the 2021 edition chore(*): Bumps krustlet to use the 2021 edition Oct 21, 2021
We've been tracking and using most of the latest features anyway, so
this seems to make sense

Signed-off-by: Taylor Thomas <taylor@oftaylor.com>
@thomastaylor312
Copy link
Member Author

NOTE: This cannot be merged until Github actions updates to 1.56

@bacongobbler
Copy link
Collaborator

been tracking the progress of the 2021 edition for a while. LGTM once it goes live!

Copy link
Collaborator

@kflansburg kflansburg left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -55,6 +55,7 @@ pub async fn pod_exited_successfully(pods: &Api<Pod>, pod_name: &str) -> anyhow:
let pod = pods.get(pod_name).await?;

let state = (|| {
let _ = &pod;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Out of curiosity, what does this do? Does this make the closure capture the entire variable pod?

Copy link
Member Author

Choose a reason for hiding this comment

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

cargo fix --edition did this for me, so I didn't want to mess with it

@thomastaylor312 thomastaylor312 force-pushed the chore/2021_edition branch 3 times, most recently from bd21254 to ee35809 Compare October 21, 2021 21:19
Signed-off-by: Taylor Thomas <taylor@oftaylor.com>
@thomastaylor312
Copy link
Member Author

Going to merge as windows e2e is broken and the advisories are still known issues

@thomastaylor312 thomastaylor312 merged commit 1c5760d into krustlet:main Oct 22, 2021
@thomastaylor312 thomastaylor312 deleted the chore/2021_edition branch October 22, 2021 15:16
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

3 participants