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

use long-running context for client initialization #741

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

tonistiigi
Copy link
Member

fixes #737

Context passed to NewClient should not be canceled after NewClient returns but client is still used. Another way would be to create a new context internally and block the Done channel but I think passing separate context is clearer.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi added this to the v0.6.2 milestone Aug 20, 2021
Copy link
Member

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

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

LGTM

@tonistiigi tonistiigi merged commit a8a3b17 into docker:master Aug 20, 2021
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.

docker buildx with remote ssh context cause error after it was updated from 0.5.1 to 0.6
2 participants