Skip to content

Commit c53d76d

Browse files
committed
log useful information instead of silent exit without error when etcd has already been installed
1 parent 8b98e80 commit c53d76d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hack/lib/etcd.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ kube::etcd::install() {
108108
cd "${KUBE_ROOT}/third_party"
109109
os=$(uname | tr "[:upper:]" "[:lower:]")
110110
if [[ $(readlink etcd) == etcd-v${ETCD_VERSION}-${os}-* ]]; then
111+
kube::log::info "etcd v${ETCD_VERSION} already installed at path:"
112+
kube::log::info "$(pwd)/$(readlink etcd)"
111113
return # already installed
112114
fi
113115
if [[ ${os} == "darwin" ]]; then

0 commit comments

Comments
 (0)