k3s/pkg/kubectl/cmd/util
Kubernetes Submit Queue 4d9581345e Merge pull request #32449 from smarterclayton/defend_get
Automatic merge from submit-queue

Unwrap aggregates of size 1 when writing errors

Our special error logic was being defeated by aggregates.

Also, only use aggregate in get when we actually are dealing with
multiple errors.

@kubernetes/kubectl

For other kubectl reviewers - no one should use an aggregate unless you are ranging over a list, and even then ask yourself whether you really care about returning all errors.
2016-09-27 03:09:00 -07:00
..
editor Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
jsonmerge change all jsonmerge to strategicpatch 2016-09-09 08:28:10 +08:00
clientcache.go convert rest of kubectl to generated clients 2016-09-12 08:22:34 -04:00
factory.go Merge pull request #31163 from juanvallejo/jvallejo_filter-resources-before-printing 2016-09-23 10:45:57 -07:00
factory_test.go Extend all to more resources 2016-09-19 13:01:59 -04:00
helpers.go Unwrap aggregates of size 1 when writing errors 2016-09-26 15:56:38 -04:00
helpers_test.go Add return code support to kubectl-exec and -run 2016-08-20 15:58:47 +02:00
printing.go update PrintSuccess message when using --dry-run 2016-09-15 10:11:21 -04:00
shortcut_restmapper.go Extend all to more resources 2016-09-19 13:01:59 -04:00
shortcut_restmapper_test.go Extend all to more resources 2016-09-19 13:01:59 -04:00