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

Handle bad user id more gracefully #879

Merged

Conversation

smallhive
Copy link
Contributor

Closes #860

Old version with type casting doesn't work with wrapped errors.

Signed-off-by: Evgenii Baidakov <[email protected]>
@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Merging #879 (ba7b0c3) into master (fd75a98) will decrease coverage by 0.01%.
Report is 1 commits behind head on master.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##           master     #879      +/-   ##
==========================================
- Coverage   34.45%   34.45%   -0.01%     
==========================================
  Files          62       62              
  Lines       10573    10577       +4     
==========================================
+ Hits         3643     3644       +1     
- Misses       6524     6526       +2     
- Partials      406      407       +1     
Files Coverage Δ
api/handler/acl.go 69.82% <0.00%> (ø)
api/handler/util.go 47.05% <50.00%> (-1.09%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@smallhive smallhive marked this pull request as ready for review October 26, 2023 10:54
@roman-khimov roman-khimov merged commit bd46170 into master Oct 27, 2023
14 of 16 checks passed
@roman-khimov roman-khimov deleted the 860-putbucketacl-handle-bad-user-id-more-gracefully branch October 27, 2023 09:37
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.

PutBucketACL: handle bad user id more gracefully
2 participants