Extract check cmd to pkg#1215
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1215 +/- ##
==========================================
- Coverage 53.40% 49.16% -4.24%
==========================================
Files 288 289 +1
Lines 20573 20589 +16
==========================================
- Hits 10986 10122 -864
- Misses 7870 8862 +992
+ Partials 1717 1605 -112
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by writing |
|
/merge |
This output is not as expected, could you also change the |
|
/merge cancel |
sure! will do it soon. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: b979685 |

What problem does this PR solve?
Similar to PR #1139 , this PR is used to support PR #1172 (tiup web UI), so we can show the check result in the web UI without parsing the command line output.
What is changed and how it works?
Extract the tiup cluster check interface to the pkg
Check List
Tests
Code changes
Side effects
Related changes
Release notes:
Manual test:
Output by this PR:
Output by code in origin/master:
They are not exactly the same line by line, but the final result are the same.