Updating version check for etcd

pull/6/head
gen0cide- 2016-08-21 17:13:52 -07:00 committed by GitHub
parent b51d5c3cc0
commit 89a63d0863
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ kube::etcd::start() {
exit 1 exit 1
fi fi
version=$(etcd -version | cut -d " " -f 3) version=$(etcd --version | head -n 1 | cut -d " " -f 3)
if [[ "${version}" < "${ETCD_VERSION}" ]]; then if [[ "${version}" < "${ETCD_VERSION}" ]]; then
kube::log::usage "etcd version ${ETCD_VERSION} or greater required." kube::log::usage "etcd version ${ETCD_VERSION} or greater required."
kube::log::info "You can use 'hack/install-etcd.sh' to install a copy in third_party/." kube::log::info "You can use 'hack/install-etcd.sh' to install a copy in third_party/."