Don't use a shell array where not needed

pull/6/head
Tim Hockin 2015-07-13 17:17:51 -07:00
parent 832382bc05
commit 957514d932
1 changed files with 2 additions and 2 deletions

View File

@ -84,9 +84,9 @@ wait_for_apiserver() {
local i
for i in $(seq 1 12); do
results=($(ssh-to-node "${master}" "
results=$(ssh-to-node "${master}" "
wget -q -T 1 -O - http://localhost:8080/healthz || true
"))
")
if [[ "${results}" == "ok" ]]; then
return
fi