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

Update wrapped error while returning FileClobberedError after calling clobbered method #2885

Merged
merged 6 commits into from
Jan 10, 2025

Conversation

vipnydav
Copy link
Member

@vipnydav vipnydav commented Jan 9, 2025

Description

This PR updates wrapped error while returning FileClobberedError after calling clobbered method as clobbered method return err as nil if file is clobbered.

Link to the issue in case of a bug fix.

Bug Link

Testing details

  1. Manual - Done
  2. Unit tests - NA
  3. Integration tests - NA

@vipnydav vipnydav requested a review from a team as a code owner January 9, 2025 07:55
@kislaykishore kislaykishore requested review from a team, tritone, gargnitingoogle, ashmeenkaur and BrennaEpp and removed request for ashmeenkaur, a team, tritone, gargnitingoogle and BrennaEpp January 9, 2025 07:56
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 76.08%. Comparing base (5bc2b8f) to head (61644be).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
internal/fs/inode/file.go 50.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2885      +/-   ##
==========================================
- Coverage   76.14%   76.08%   -0.06%     
==========================================
  Files         118      118              
  Lines       16640    16665      +25     
==========================================
+ Hits        12670    12680      +10     
- Misses       3437     3447      +10     
- Partials      533      538       +5     
Flag Coverage Δ
unittests 76.08% <50.00%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

ashmeenkaur
ashmeenkaur previously approved these changes Jan 10, 2025
@vipnydav vipnydav merged commit 6015cdb into master Jan 10, 2025
12 checks passed
@ashmeenkaur ashmeenkaur deleted the update_precondition_error_message branch January 10, 2025 11:12
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