From 45d54eb5c00883a6a01f3eed18a150996f5c1c1e Mon Sep 17 00:00:00 2001 From: Jan Wozniak Date: Mon, 30 Dec 2019 18:55:41 +0100 Subject: [PATCH] VPA: fix bash set options The `set` in `hack/update-kubernetes-deps-in-e2e.sh` contains redundant options: * `errexit` equals `-e` * `nounset` equals `-u` Also, I have misunderstood how to correctly set options in: https://github.com/kubernetes/autoscaler/pull/2531 Resource: https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html --- vertical-pod-autoscaler/hack/update-kubernetes-deps-in-e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vertical-pod-autoscaler/hack/update-kubernetes-deps-in-e2e.sh b/vertical-pod-autoscaler/hack/update-kubernetes-deps-in-e2e.sh index 5879cc2df81..5139178e684 100755 --- a/vertical-pod-autoscaler/hack/update-kubernetes-deps-in-e2e.sh +++ b/vertical-pod-autoscaler/hack/update-kubernetes-deps-in-e2e.sh @@ -19,7 +19,7 @@ # K8S_TAG - k8s version to use for the dependencies update. # Suggested format is K8S_TAG=v1.10.3 -set -eou errexit pipefail nounset +set -euo pipefail K8S_TAG=${K8S_TAG:-v1.16.2} K8S_TAG=${K8S_TAG#v}