Repository navigation
Conversation
fantapsody
approved these changes
Dec 15, 2022
codelipenghui
left a comment
Contributor
There was a problem hiding this comment.
Is it possible to add a test to avoid regression?
Member
Author
Thanks, fixed, PTAL |
Member
Author
|
@codelipenghui @poorbarcode @mattisonchao @fantapsody @Technoboy- @gaoran10 PTAL, thanks |
codelipenghui
approved these changes
Dec 19, 2022
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #18940 +/- ##
============================================
- Coverage 47.35% 46.51% -0.84%
- Complexity 9384 10470 +1086
============================================
Files 623 703 +80
Lines 59104 68856 +9752
Branches 6146 7386 +1240
============================================
+ Hits 27987 32029 +4042
- Misses 28100 33221 +5121
- Partials 3017 3606 +589
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
tuteng
added a commit
that referenced
this pull request
Dec 19, 2022
(cherry picked from commit e07b67f)
tuteng
added a commit
that referenced
this pull request
Dec 19, 2022
(cherry picked from commit e07b67f)
tuteng
added a commit
that referenced
this pull request
Dec 19, 2022
(cherry picked from commit e07b67f)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #xyz
Master Issue: #xyz
Motivation
The pulsar-admin client does not correctly handle error messages from the interceptor response. The interceptor response is a string, but the client tries to parse it as an errorData object
https://github.com/apache/pulsar/blob/master/pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/BaseResource.java#L323
Modifications
Update the response to a json object, update the response to a json object, which shouldn't cause a breaking change. The client will get the error message from the previous
reason-contentto"{"reason": "reason-content"}"Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: AmateurEvents#32