-
Notifications
You must be signed in to change notification settings - Fork 10
Test Harbor+ghcr.io error code special handling #633
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
Conversation
9273415 to
cde204f
Compare
cde204f to
a7d49e8
Compare
a7d49e8 to
1d9030f
Compare
majewsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two nitpicks:
internal/client/auth_challenge.go
Outdated
| var errStr strings.Builder | ||
| for _, e := range data.Errors { | ||
| errStr.WriteString(e.Error() + "; ") | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This produces an extra trailing "; " at the end. Please use errext.ErrorSet and then errs.Join("; ").
d56dab0 to
6be8176
Compare
Co-authored-by: Stefan Majewsky <[email protected]> (cherry picked from commit d56dab0)
6be8176 to
3bd6f12
Compare
Merging this branch will increase overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. Changed unit test files
|
fix regression introduced in #633
No description provided.