Skip to content

Don't share err between multiple goroutines #391

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

Merged
merged 1 commit into from
Feb 10, 2020

Conversation

kzys
Copy link
Contributor

@kzys kzys commented Feb 10, 2020

Signed-off-by: Kazuyoshi Kato [email protected]

Issue #, if available:

This was originally in #383, but since the PR has been open for 2+ weeks. I'd like to merge changes that we can have, to make the PR smaller.

Description of changes:

The err is unnecessary shared by multiple goroutines.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@mxpv mxpv left a comment

Choose a reason for hiding this comment

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

LGTM

@kzys kzys merged commit 01c8996 into firecracker-microvm:master Feb 10, 2020
@kzys kzys deleted the dont-share-err branch February 10, 2020 23:38
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.

2 participants