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

config: tiny fix config item #2065

Merged
merged 2 commits into from
Dec 31, 2019
Merged

config: tiny fix config item #2065

merged 2 commits into from
Dec 31, 2019

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Dec 30, 2019

What problem does this PR solve?

when using pd-ctl config show:
before:

...
"leader-schedule-strategy": "\"count\"",
...

After:

...
"leader-schedule-strategy": "count",
...

What is changed and how it works?

This PR removes the "string" tag for LeaderScheduleStrategy.

Check List

Tests

  • Manual test

Signed-off-by: Ryan Leung <rleungx@gmail.com>
@rleungx rleungx added the component/config Configuration logic. label Dec 30, 2019
@rleungx rleungx added this to the v4.0.0-beta milestone Dec 30, 2019
@overvenus overvenus added the status/can-merge Indicates a PR has been approved by a committer. label Dec 31, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Dec 31, 2019

/run-all-tests

@disksing
Copy link
Contributor

/merge

@sre-bot sre-bot merged commit 26ba96d into tikv:master Dec 31, 2019
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@b361283). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2065   +/-   ##
=========================================
  Coverage          ?   76.68%           
=========================================
  Files             ?      190           
  Lines             ?    19276           
  Branches          ?        0           
=========================================
  Hits              ?    14781           
  Misses            ?     3368           
  Partials          ?     1127
Impacted Files Coverage Δ
server/config/config.go 89.47% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b361283...748fb2e. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/config Configuration logic. status/can-merge Indicates a PR has been approved by a committer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants