Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove duplicate error messages from cli commands #79493
What type of PR is this?
What this PR does / why we need it:
The current behavior results in all error messages being printed twice:
This applies to all cli commands using Cobra. To verify, follow the code
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Hi @odinuge. Thanks for your PR.
I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with
Once the patch is verified, the new status will be reflected by the
I understand the commands that are listed here.
referenced this pull request
Jun 28, 2019
[APPROVALNOTIFIER] This PR is APPROVED
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
Jun 28, 2019
23 checks passed
Is this something we want to cherry-pick into previous releases? The bug is quite annoying, and the fix is very simple..
$ kubeadm ini Error: unknown command "ini" for "kubeadm" Did you mean this? init Run 'kubeadm --help' for usage. error: unknown command "ini" for "kubeadm" Did you mean this? init