-
Notifications
You must be signed in to change notification settings - Fork 932
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
refactor: remove providers and add prefix when use polaris #2274
Conversation
This looks like a bugfix. Do you think this needs to be included in the next 3.0.x release, or it's ok to be just included in 3.1. |
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.
LGTM.
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.
Thanks @chuntaojun, but here is a comment.
@chuntaojun pls fix the ci failure. |
@chuntaojun pls fix the ci failure. |
Please pull the latest commits after #2280 is merged to address the CI issues. |
03258da
to
5a76a5e
Compare
You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab. |
hope included in the next 3.0.x release,tks |
You should backport this to 3.0 branch. That is, you should open a new pull request whose target branch is 3.0. Btw, the CI of your PR is not up-to-date. That is why your CI failed. Please pull the latest commit from the main branch and rebase onto it. For example: |
Please rebase your PR onto the latest main branch to address the CI failure. |
044d1ad
to
c8f520a
Compare
Kudos, SonarCloud Quality Gate passed! |
Codecov Report
@@ Coverage Diff @@
## main #2274 +/- ##
==========================================
- Coverage 44.23% 43.96% -0.27%
==========================================
Files 289 284 -5
Lines 17916 17418 -498
==========================================
- Hits 7925 7658 -267
+ Misses 9149 8949 -200
+ Partials 842 811 -31
... and 10 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Lgtm, thanks! I left one comment here.
request.Namespace = pr.namespace | ||
if err := pr.provider.Deregister(request); err != nil { | ||
return perrors.WithMessagef(err, "register(conf:%+v)", conf) | ||
return perrors.WithMessagef(err, "fail to deregister(conf:%+v)", url) |
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.
return perrors.WithMessagef(err, "fail to deregister(conf:%+v)", url) | |
return perrors.WithMessagef(err, "failed to deregister service from the Polaris registry, url = %v", url) |
Btw, please link an issue, see here CONTRIBUTING.md. |
agree with you. @chuntaojun |
already link issue |
What this PR does:
Which issue(s) this PR fixes:
Fixes apache/dubbo-spi-extensions#204
You should pay attention to items below to ensure your pr passes our ci test
We do not merge pr with ci tests failed