-
Notifications
You must be signed in to change notification settings - Fork 13k
[ISSUE#13249] Fix configuration change plugin return incompatibility. #13255
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
|
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #13255 +/- ##
=============================================
+ Coverage 72.27% 72.32% +0.04%
- Complexity 10064 10067 +3
=============================================
Files 1313 1313
Lines 42275 42268 -7
Branches 4443 4442 -1
=============================================
+ Hits 30556 30571 +15
+ Misses 9606 9584 -22
Partials 2113 2113
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
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.
感觉这个修复方式太粗暴了, 只返回boolean感觉不适配的范围会更大。
感觉不会扩大不适配范围哇 原有代码不兼容的原因是因为切面切的这两个方法返回值都是 Boolean
原来前置插件执行失败时返回了RestResult,所以导致了返回值类型不兼容,如果不改成返回boolean,还有其他比较好的修复方式嘛🤔 |
没有太理解, 插件返回RestResult,和ConfigOperationService.deleteConfig返回boolean有什么关系? |
What is the purpose of the change
its for #13249
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
to make sure basic checks pass. Runmvn clean install -DskipITs
to make sure unit-test pass. Runmvn clean test-compile failsafe:integration-test
to make sure integration-test pass.