Skip to content

Commit

Permalink
break quoting so that the command works. no way.....
Browse files Browse the repository at this point in the history
  • Loading branch information
deads2k committed Nov 22, 2016
1 parent 4d333e7 commit 5d1d22b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/dind-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function wait-for-cluster() {
oc="$(os::build::find-binary oc)"

# wait for healthz to report ok before trying to get nodes
os::util::wait-for-condition "ok" "${oc} get --config=\"${kubeconfig}\" --raw=/healthz" "120"
os::util::wait-for-condition "ok" "${oc} get --config=${kubeconfig} --raw=/healthz" "120"

local msg="${expected_node_count} nodes to report readiness"
local condition="nodes-are-ready ${kubeconfig} ${oc} ${expected_node_count}"
Expand Down Expand Up @@ -249,7 +249,7 @@ EOF
# Remove formatting before use
template="$(echo "${template}" | tr -d '\n' | sed -e 's/} \+/}/g')"
local count
count="$("${oc}" --config="${kubeconfig}" get nodes \
count="$("${oc}" --config=${kubeconfig} get nodes \
--template "${template}" 2> /dev/null | \
wc -l)"
test "${count}" -ge "${expected_node_count}"
Expand Down

0 comments on commit 5d1d22b

Please sign in to comment.