Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

internal/client: use given context so it can be cancelled #989

Merged
merged 1 commit into from
Jan 19, 2021
Merged

Conversation

mitchellh
Copy link
Contributor

While attempting to connect to a server, Ctrl-C was not working. This is
because we were using context.Background rather than the passed in
context when attempting to connect.

I don't know why we did this, it looks like a simple mistake from dev.
Verified that this makes Ctrl-C work properly for server connection.

Labeling for backport to 0.2.x.

While attempting to connect to a server, Ctrl-C was not working. This is
because we were using `context.Background` rather than the passed in
context when attempting to connect.

I don't know why we did this, it looks like a simple mistake from dev.
Verified that this makes Ctrl-C work properly for server connection.
@mitchellh mitchellh added this to the 0.2.x milestone Jan 18, 2021
@mitchellh mitchellh requested a review from a team January 18, 2021 18:44
@github-actions github-actions bot added the core label Jan 18, 2021
Copy link
Contributor

@krantzinator krantzinator left a comment

Choose a reason for hiding this comment

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

sweet

Copy link
Member

@briancain briancain left a comment

Choose a reason for hiding this comment

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

great! 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants