-
Notifications
You must be signed in to change notification settings - Fork 637
[ISSUE #4712]Enhancement for NacosMetaService #4713
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
shutdownNacosService(); | ||
} | ||
|
||
@SuppressWarnings("checkstyle:WhitespaceAround") |
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.
Why CheckStyle warnings should be suppressed?
@@ -216,13 +216,25 @@ public void shutdown() throws MetaException { | |||
if (!startStatus.compareAndSet(true, false)) { | |||
return; | |||
} | |||
shutdownNacosService(); |
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.
I think this method can be inlined. The shutdown()
interface is used to shutdown Nacos, and there is no need to extract a separate method specifically for closing Nacos.
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.
please review again, thanks.
} | ||
|
||
|
||
@Override |
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.
redundant new-line
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.
LGTM
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #4713 +/- ##
=========================================
Coverage 17.39% 17.40%
Complexity 1759 1759
=========================================
Files 797 797
Lines 29850 29856 +6
Branches 2579 2579
=========================================
+ Hits 5192 5195 +3
- Misses 24177 24180 +3
Partials 481 481 ☔ View full report in Codecov by Sentry. |
* enhancement for NacosMetaService * fix some bug * fix some style problem
Fixes #4712.
Motivation
Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.
Modifications
Describe the modifications you've done.
Documentation