mirror of
https://github.com/kubernetes/kubectl.git
synced 2026-05-28 04:35:50 -04:00
There is a custom error message returned from resource.Builder when SingleResourceType is set and multiple resources types are specified, which makes it impossible to check for the condition in code easily. This patch adds resource.ErrMultipleResourceTypes that is returned precisely in this case so that it can be checked. This patch also removes an extra custom error message in kubectl get, which is actually never reached, because the builder fails before. Kubernetes-commit: 82896feebbdf1c0809c0fec29988eff15cb02837 |
||
|---|---|---|
| .. | ||
| customcolumn.go | ||
| customcolumn_flags.go | ||
| customcolumn_flags_test.go | ||
| customcolumn_test.go | ||
| get.go | ||
| get_flags.go | ||
| get_test.go | ||
| humanreadable_flags.go | ||
| humanreadable_flags_test.go | ||
| skip_printer.go | ||
| sorter.go | ||
| sorter_test.go | ||
| table_printer.go | ||