Skip to content

fix: returns error when closing call fails - resolves potential bug#101

Open
rosygmiki wants to merge 1 commit into
containers:mainfrom
rosygmiki:windows-system-test
Open

fix: returns error when closing call fails - resolves potential bug#101
rosygmiki wants to merge 1 commit into
containers:mainfrom
rosygmiki:windows-system-test

Conversation

@rosygmiki
Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Rosy-Glorious Miki <rmiki@redhat.com>
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request fixes a bug in pkg/tar-patch/apply.go where an error encountered while closing the current file was being ignored and nil was returned instead of the actual error. The code has been corrected to return the err. There are no review comments to address.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 79.19%. Comparing base (e78a156) to head (d71277b).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
pkg/tar-patch/apply.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #101   +/-   ##
=======================================
  Coverage   79.19%   79.19%           
=======================================
  Files          10       10           
  Lines        1115     1115           
=======================================
  Hits          883      883           
  Misses        134      134           
  Partials       98       98           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant