mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
Merge pull request #11198 from thockin/fix-services-sh-e2e
Don't use a shell array where not needed
This commit is contained in:
@@ -84,9 +84,9 @@ wait_for_apiserver() {
|
|||||||
|
|
||||||
local i
|
local i
|
||||||
for i in $(seq 1 12); do
|
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
|
wget -q -T 1 -O - http://localhost:8080/healthz || true
|
||||||
"))
|
")
|
||||||
if [[ "${results}" == "ok" ]]; then
|
if [[ "${results}" == "ok" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user