kubernetes/hack/make-rules
Kubernetes Submit Queue 963697564a Merge pull request #50672 from shiywang/fix0error
Automatic merge from submit-queue (batch tested with PRs 50890, 52484, 52542, 52567, 50672). 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 return 0 error in DefaultSubCommandRun

Fixes https://github.com/kubernetes/kubernetes/issues/50644
@mengqiy most of our command didn't return 1 when error, is because it invoke `DefaultSubCommandRun` which created in this pr https://github.com/kubernetes/kubernetes/pull/35206, I'm not sure if it's ok to directly add an `os.Exit` in that function, so also cc @juanvallejo @fabianofranz for review.

also @apelisse  @mengqiy  I think we don't have any test for check return value now ? cmiiw, I will add some test in test-cmd since it's easy to write scripts check return value, wdyt ?
2017-09-23 16:26:56 -07:00
..
helpers Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
BUILD Remove kubectl's dependence on schema file in pkg/api/validation. 2017-08-16 16:38:28 -07:00
build.sh Add a verbosity concept to kubernetes scripts 2016-08-04 22:01:22 -07:00
cross.sh Add a KUBERNETES_NODE_* section to build kubelet/kube-proxy for windows 2016-12-17 21:07:18 -08:00
make-help.sh remove hardcoded ansi to tput so that color coding works in multiple platforms including osx. 2017-02-10 10:25:43 -08:00
test-cmd-util.sh Merge pull request #50672 from shiywang/fix0error 2017-09-23 16:26:56 -07:00
test-cmd.sh *: remove --insecure-allow-any-token option 2017-07-18 16:03:15 -07:00
test-e2e-node.sh Switch away from gcloud deprecated flags in compute resource listings 2017-08-30 06:41:09 +01:00
test-federation-cmd.sh *: remove --insecure-allow-any-token option 2017-07-18 16:03:15 -07:00
test-integration.sh Set default vmodule flag in integration tests 2017-07-31 14:06:46 -04:00
test-kubeadm-cmd.sh kubeadm: updated cmd tests as discussed in SIG 2017-02-07 12:47:07 -08:00
test.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
verify.sh Add debugging to the codegen process 2017-08-25 14:08:42 -07:00
vet.sh Merge pull request #46923 from dims/nuke-wrapper-go-flags 2017-06-22 20:26:29 -07:00