Files
kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue 25de8ef641 Merge pull request #40551 from juanvallejo/jvallejo/only-output-no-resources-found-for-human-readable-printer
Automatic merge from submit-queue (batch tested with PRs 40691, 40551, 40683, 40700, 40702)

only output "No resources found." for human readable printers

**Release note**:
```release-note
release note none
```

This patch removes the message `No resources found` (currently printed through stderr) when printing through a generic / non-human-readable printer (json, yaml, jsonpath, custom-columns).

**Before***
```
$ kubectl get pods -o json
No resources found.
{
    "apiVersion": "v1",
    "items": [],
    "kind": "List",
    "metadata": {},
    "resourceVersion": "",
    "selfLink": ""
}
```

**After**
```
$ kubectl get pods -o json
{
    "apiVersion": "v1",
    "items": [],
    "kind": "List",
    "metadata": {},
    "resourceVersion": "",
    "selfLink": ""
}
```

cc @fabianofranz @stevekuznetsov
2017-01-30 19:14:41 -08:00
..
2017-01-29 21:41:45 +01:00
2017-01-17 08:32:05 -05:00
2017-01-26 19:59:24 -05:00
2017-01-11 09:09:48 -05:00
2017-01-26 19:59:26 -05:00
2017-01-20 08:04:53 -05:00
2017-01-11 09:09:48 -05:00
2017-01-30 12:46:59 -05:00
2017-01-11 09:09:48 -05:00
2017-01-24 20:56:03 +01:00
2017-01-13 08:27:14 -05:00
2016-10-29 20:24:54 -07:00
2016-10-29 20:24:54 -07:00
2017-01-26 19:59:25 -05:00
2017-01-20 08:04:53 -05:00
2017-01-13 08:27:14 -05:00
2017-01-11 09:09:48 -05:00
2017-01-26 19:59:25 -05:00
2017-01-26 19:59:25 -05:00
2017-01-20 08:04:53 -05:00
2017-01-06 13:35:43 -08:00
2017-01-20 08:04:53 -05:00
2017-01-16 09:35:12 -05:00
2017-01-30 12:46:59 -05:00
2017-01-26 08:37:06 -05:00
2017-01-04 09:12:24 +08:00
2017-01-06 13:35:43 -08:00