k3s/pkg/kubectl/cmd/get
Kubernetes Submit Queue 5fee050734
Merge pull request #64072 from CaoShuFeng/show_kind
Automatic merge from submit-queue (batch tested with PRs 64034, 64072, 64146, 64059, 64161). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix kubectl get --show-kind

This pull request fix `kubectl get --show-kind`
Before this change:
```json
$ kubectl get pods --show-kind
NAME                    READY     STATUS      RESTARTS   AGE
pi-with-timeout-52sjs   0/1       Completed   0          1d
pi-with-timeout-f5pb5   0/1       Completed   0          1d
```
After this change:
```
$ kubectl get pods --show-kind
NAME                        READY     STATUS      RESTARTS   AGE
pod/pi-with-timeout-52sjs   0/1       Completed   0          1d
pod/pi-with-timeout-f5pb5   0/1       Completed   0          1d
```


**What this PR does / why we need it**:

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:
/assign @soltysh 
**Release note**:

```release-note
NONE
```
2018-05-22 19:20:15 -07:00
..
BUILD move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
get.go fix kubectl get --show-kind 2018-05-22 10:41:27 +08:00
get_flags.go fix kubectl get --show-kind 2018-05-22 10:41:27 +08:00
get_test.go Merge pull request #64072 from CaoShuFeng/show_kind 2018-05-22 19:20:15 -07:00
humanreadable_flags.go fix kubectl get --show-kind 2018-05-22 10:41:27 +08:00
humanreadable_flags_test.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00