![]() cli.Run was an attempt to elliminate error handling in Kubernetes commands. However, it had to rely on heuristics that are not necessarily right for all commands. kubectl is one example which has its own error printing code that should be used in all cases after a command failure. It now gets used also for `--warnings-as-errors`. Previously, that caused the following message to be logged at the end: E0110 16:56:01.987555 202060 run.go:120] "command failed" err="1 warning received" Now it ends with: error: 1 warning received |
||
---|---|---|
.. | ||
kubectl.go | ||
OWNERS |