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

daemon/c8d: Use WithoutCancel instead of context.Background #46590

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

vvoland
Copy link
Contributor

@vvoland vvoland commented Oct 4, 2023

Instead of passing a completely fresh context without any values, just discard the cancellation.

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Instead of passing a completely fresh context without any values, just
discard the cancellation.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@vvoland vvoland added status/2-code-review kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. area/daemon containerd-integration Issues and PRs related to containerd integration labels Oct 4, 2023
@vvoland vvoland added this to the 25.0.0 milestone Oct 4, 2023
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah thaJeztah merged commit f0698da into moby:master Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/daemon containerd-integration Issues and PRs related to containerd integration kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. status/2-code-review
Projects
Development

Successfully merging this pull request may close these issues.

4 participants