Skip to content

Commit e47973b

Browse files
authored
Merge pull request kubernetes#69086 from bruceauyeung/log-useful-info-instead-of-silent-exit-when-etcd-already-installed
log useful information instead of silent exit without error
2 parents 903cdff + c53d76d commit e47973b

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)