Skip to content
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

Merged
merged 1 commit into from
Jan 8, 2025
Merged

*: fix typo #8982

merged 1 commit into from
Jan 8, 2025

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Jan 8, 2025

What problem does this PR solve?

Issue Number: ref #4820

What is changed and how does it work?

Check List

Tests

  • Unit test

Release note

None.

Signed-off-by: Ryan Leung <[email protected]>
@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has signed the dco. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 8, 2025
@@ -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"`
Copy link
Member Author

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.

@rleungx rleungx requested a review from okJiang January 8, 2025 07:18
Comment on lines +107 to +108
GetMicroserviceMembers(context.Context, string) ([]MicroserviceMember, error)
GetMicroservicePrimary(context.Context, string) (string, error)
Copy link
Member Author

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.

@rleungx rleungx requested a review from JmPotato January 8, 2025 07:20
@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be removed

Copy link
Member Author

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.

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jan 8, 2025
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

Attention: Patch coverage is 91.54930% with 6 lines in your changes missing coverage. Please review.

Project coverage is 76.27%. Comparing base (75cdec4) to head (565a540).
Report is 1099 commits behind head on master.

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     
Flag Coverage Δ
unittests 76.27% <91.54%> (+1.35%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@rleungx
Copy link
Member Author

rleungx commented Jan 8, 2025

@niubell PTAL

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jan 8, 2025
Copy link
Contributor

ti-chi-bot bot commented Jan 8, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-01-08 07:25:32.268502159 +0000 UTC m=+338475.557333864: ☑️ agreed by okJiang.
  • 2025-01-08 08:53:18.904337648 +0000 UTC m=+343742.193169352: ☑️ agreed by nolouch.

Copy link
Contributor

ti-chi-bot bot commented Jan 8, 2025

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Jan 8, 2025
@ti-chi-bot ti-chi-bot bot merged commit adddd4e into tikv:master Jan 8, 2025
26 checks passed
@rleungx rleungx deleted the typo1 branch January 9, 2025 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes Indicates the PR's author has signed the dco. lgtm release-note-none Denotes a PR that doesn't merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants