From 57170100a0c7451d166f5e67979b3859385a3049 Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Thu, 23 Feb 2017 11:11:31 -0800 Subject: [PATCH] avoid ls'ing third_party/etcd third_party/etcd isn't guaranteed to be present, this was causing the script to fail prior to printing out the error message about version mismatch fixes #41989 --- hack/lib/etcd.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/hack/lib/etcd.sh b/hack/lib/etcd.sh index 307fd52c3b8..5d55fd441ee 100755 --- a/hack/lib/etcd.sh +++ b/hack/lib/etcd.sh @@ -40,7 +40,6 @@ kube::etcd::validate() { export PATH=$KUBE_ROOT/third_party/etcd:$PATH hash etcd echo $PATH - ls $KUBE_ROOT/third_party/etcd version=$(etcd --version | head -n 1 | cut -d " " -f 3) if [[ "${version}" < "${ETCD_VERSION}" ]]; then kube::log::usage "etcd version ${ETCD_VERSION} or greater required."