-
Notifications
You must be signed in to change notification settings - Fork 726
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
*: fix typo #8982
*: fix typo #8982
Conversation
Signed-off-by: Ryan Leung <[email protected]>
@@ -162,7 +162,7 @@ type Config struct { | |||
|
|||
Keyspace KeyspaceConfig `toml:"keyspace" json:"keyspace"` | |||
|
|||
MicroService MicroServiceConfig `toml:"micro-service" json:"micro-service"` | |||
Microservice MicroserviceConfig `toml:"micro-service" json:"micro-service"` |
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 pay attention that the name has been changed.
GetMicroserviceMembers(context.Context, string) ([]MicroserviceMember, error) | ||
GetMicroservicePrimary(context.Context, string) (string, 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.
AFAIK, we don't use these API for now, so renaming them is ok.
@@ -80,8 +80,8 @@ const ( | |||
Version = "/pd/api/v1/version" | |||
operators = "/pd/api/v1/operators" | |||
safepoint = "/pd/api/v1/gc/safepoint" | |||
// Micro Service | |||
microServicePrefix = "/pd/api/v2/ms" | |||
// Microservice |
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.
can be removed
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'm going to keep it because it's not for exposed variables previously.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8982 +/- ##
==========================================
+ Coverage 74.91% 76.27% +1.35%
==========================================
Files 416 465 +49
Lines 42103 70550 +28447
==========================================
+ Hits 31543 53814 +22271
- Misses 7810 13379 +5569
- Partials 2750 3357 +607
Flags with carried forward coverage won't be shown. Click here to find out more. |
@niubell PTAL |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: niubell, nolouch, okJiang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What problem does this PR solve?
Issue Number: ref #4820
What is changed and how does it work?
Check List
Tests
Release note