forked from grafana/tanka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): Split diff and non-diff output (grafana#537)
On commands that produce diffs: diff, apply, and prune. It is desirable for some use cases to parse diff output from `kubectl diff` (e.g. secret redaction until kubernetes/kubernetes#87840 is resolved). This is a lot easier when diff and non-diff output are not combined on the same channel, stdout. This commit moves diagnostic, non-diff output for the 3 relevant subcommands to stderr.
- Loading branch information
1 parent
17684fd
commit 5149d1b
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters