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

pdctl: use cobra print function #1313

Merged
merged 2 commits into from
Nov 8, 2018
Merged

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Nov 7, 2018

What problem does this PR solve?

Cobra has its own print functions which can be used to specify the output. In addition, we can use it to write some pd-ctl tests.

What is changed and how it works?

This PR replaces all standard print functions in pd-ctl with cobra's print functions.

Check List

Tests

  • Manual test

@siddontang
Copy link
Contributor

how about the new output, the same as origin?

@rleungx
Copy link
Member Author

rleungx commented Nov 8, 2018

@siddontang Yes, the same as before.

@nolouch nolouch merged commit ae4fb7d into tikv:master Nov 8, 2018
rleungx added a commit to rleungx/pd that referenced this pull request Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants