Kubernetes Submit Queue
b8b7f9ffc0
Merge pull request #32722 from juanvallejo/jvallejo_return-err-on-oc-get-empty-list
...
Automatic merge from submit-queue
return warning on empty list result in kubectl get
**Release note**:
```release-note
NONE
```
The current default behavior of `kubectl 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.
##### Before
`$ kubectl get pods`
- *empty output*
##### After
`$ kubectl get pods`
```
There are no resources to display.
```
2016-10-12 23:48:01 -07:00
..
2016-09-27 23:17:47 +08:00
2016-10-10 15:04:46 +02:00
2016-09-26 16:01:17 -07:00
2016-08-20 08:03:39 +08:00
2016-10-07 10:10:54 -04:00
2016-10-07 23:58:54 -07:00
2016-10-06 17:17:40 +10:00
2016-09-12 07:38:34 -04:00
2016-09-26 18:02:49 -07:00
2016-10-06 17:49:02 -07:00
2016-10-07 10:10:54 -04:00
2016-09-07 09:44:01 -04:00
2016-09-26 16:01:17 -07:00
2016-07-08 13:53:09 +02:00
2016-09-12 07:38:34 -04:00
2016-09-16 16:05:52 -04:00
2016-10-07 10:10:54 -04:00
2016-09-28 18:02:33 -04:00
2016-08-23 01:42:05 +08:00
2016-09-19 21:11:04 -07:00
2016-07-08 13:53:09 +02:00
2016-09-27 19:21:46 +08:00
2016-08-08 13:24:30 +10:00
2016-09-06 11:00:50 +08:00
2016-07-08 13:53:09 +02:00
2016-07-07 00:12:22 -07:00
2016-07-26 14:12:35 +02:00
2016-09-07 09:09:12 +08:00
2016-07-08 13:53:09 +02:00
2016-07-07 00:12:22 -07:00
2016-08-08 12:31:21 +10:00
2016-10-04 13:19:24 -04:00
2016-07-08 13:53:09 +02:00
2016-07-07 00:12:22 -07:00
2016-08-15 22:07:54 -07:00
2016-09-26 16:01:17 -07:00
2016-10-07 10:10:54 -04:00
2016-09-26 16:01:17 -07:00
2016-08-23 14:51:56 +08:00
2016-09-28 10:53:30 -07:00
2016-09-12 07:38:34 -04:00
2016-09-28 04:55:09 -07:00
2016-10-06 16:29:09 -07:00
2016-10-12 17:42:31 +03:00
2016-10-12 17:42:31 +03:00
2016-09-16 16:05:52 -04:00
2016-09-15 10:11:21 -04:00
2016-09-26 16:01:17 -07:00
2016-10-07 10:10:54 -04:00
2016-10-12 23:48:01 -07:00
2016-07-28 17:47:03 +03:00
2016-10-07 23:58:54 -07:00
2016-10-06 17:17:40 +10:00
2016-07-08 13:53:09 +02:00
2016-09-16 16:05:52 -04:00
2016-08-20 08:03:39 +08:00
2016-07-08 13:53:09 +02:00
2016-09-26 16:01:17 -07:00
2016-10-07 10:10:54 -04:00
2016-09-12 07:38:34 -04:00
2016-06-29 17:47:36 -07:00
2016-09-14 06:51:36 -07:00
2016-09-26 16:01:17 -07:00
2016-07-08 13:53:09 +02:00
2016-09-26 16:01:17 -07:00
2016-10-07 10:10:54 -04:00
2016-10-03 18:54:53 +02:00
2016-09-26 16:01:17 -07:00
2016-09-19 21:11:04 -07:00
2016-08-20 15:58:10 +02:00
2016-10-07 12:10:55 -07:00
2016-09-12 08:22:34 -04:00
2016-09-14 05:35:42 -07:00
2016-09-12 08:22:34 -04:00
2016-09-14 05:35:42 -07:00
2016-09-12 08:22:34 -04:00
2016-08-11 17:25:18 +02:00
2016-09-12 07:38:34 -04:00