Skip to content

Commit f19f4ac

Browse files
committed
UPSTREAM: 32722: warn on empty oc get output
Fixes: #10285 Related Trello Card: https://trello.com/c/04lpfTQR/451-8-cli-improved-flows-and-ux-in-the-cli-evg-ux-p3 The current default behavior of `oc get` is to return an empty output when there are no resources to display. This patch improves usability by returning a warning through stderr in the case of an empty list.
1 parent 85eb37b commit f19f4ac

File tree

1 file changed

+11
-1
lines changed
  • vendor/k8s.io/kubernetes/pkg/kubectl/cmd

1 file changed

+11
-1
lines changed

vendor/k8s.io/kubernetes/pkg/kubectl/cmd/get.go

+11-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)