Skip to content

lvmd: don't close returned io.ReadCloser when callLVMStreamed failed #1053

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
Jun 4, 2025

Conversation

ushitora-anqou
Copy link
Contributor

@ushitora-anqou ushitora-anqou commented Jun 3, 2025

A minor fix. streamed.Close should be called only when callLVMStreamed has succeeded.

Signed-off-by: Ryotaro Banno <ryotaro.banno@gmail.com>
@ushitora-anqou ushitora-anqou marked this pull request as ready for review June 3, 2025 09:21
@ushitora-anqou ushitora-anqou requested a review from a team as a code owner June 3, 2025 09:21
@ushitora-anqou ushitora-anqou requested review from toshipp and cupnes June 3, 2025 09:21
@satoru-takeuchi satoru-takeuchi moved this from To do to Review in progress in Development Jun 4, 2025
@cupnes cupnes merged commit 533a227 into main Jun 4, 2025
25 checks passed
@cupnes cupnes deleted the lvmd/dont-close-command-in-error branch June 4, 2025 06:55
@github-project-automation github-project-automation bot moved this from Review in progress to Done in Development Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants