Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

pd: fix parse version (#620)#623

Merged
ti-srebot merged 2 commits into
pingcap:release-4.0from
ti-srebot:release-4.0-df49ebdd2800
Nov 27, 2020
Merged

pd: fix parse version (#620)#623
ti-srebot merged 2 commits into
pingcap:release-4.0from
ti-srebot:release-4.0-df49ebdd2800

Conversation

@ti-srebot
Copy link
Copy Markdown
Contributor

cherry-pick #620 to release-4.0


What problem does this PR solve?

current parse pd version will failed. this bug is introduced in #592.

What is changed and how it works?

add strings.Trim before parse version

Check List

Tests

  • Unit test

Related changes

  • Need to cherry-pick to the release branch

Release Note

  • No release note

Copy link
Copy Markdown
Collaborator

@kennytm kennytm left a comment

Choose a reason for hiding this comment

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

lgtm

@ti-srebot ti-srebot added the status/LGT1 LGTM1 label Nov 26, 2020
Copy link
Copy Markdown
Contributor

@lichunzhu lichunzhu left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot added status/LGT2 LGTM2 and removed status/LGT1 LGTM1 labels Nov 27, 2020
@lichunzhu
Copy link
Copy Markdown
Contributor

/run-all-tests

@lichunzhu
Copy link
Copy Markdown
Contributor

/merge

@ti-srebot
Copy link
Copy Markdown
Contributor Author

/run-all-tests

@ti-srebot ti-srebot merged commit d311228 into pingcap:release-4.0 Nov 27, 2020
@overvenus overvenus added this to the v4.0.9 milestone Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants