We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c215966 commit e698682Copy full SHA for e698682
hack/lib/etcd.sh
@@ -16,10 +16,6 @@
16
17
# A set of helpers for starting/running etcd for tests
18
19
-set -o errexit
20
-set -o nounset
21
-set -o pipefail
22
-
23
ETCD_VERSION=${ETCD_VERSION:-3.3.10}
24
ETCD_HOST=${ETCD_HOST:-127.0.0.1}
25
ETCD_PORT=${ETCD_PORT:-2379}
@@ -114,7 +110,7 @@ kube::etcd::install() {
114
110
os=$(kube::util::host_os)
115
111
arch=$(kube::util::host_arch)
116
112
117
- cd "${KUBE_ROOT}/third_party"
113
+ cd "${KUBE_ROOT}/third_party" || return 1
118
if [[ $(readlink etcd) == etcd-v${ETCD_VERSION}-${os}-* ]]; then
119
kube::log::info "etcd v${ETCD_VERSION} already installed at path:"
120
kube::log::info "$(pwd)/$(readlink etcd)"
0 commit comments