Commit 492e0369 authored by Kennan's avatar Kennan

Merge branch 'master' of https://github.com/HackToday/kubernetes

parents eaab84a4 222c714c
...@@ -24,13 +24,13 @@ kube::util::wait_for_url() { ...@@ -24,13 +24,13 @@ kube::util::wait_for_url() {
local wait=${3:-0.2} local wait=${3:-0.2}
local times=${4:-10} local times=${4:-10}
local i
which curl >/dev/null || { which curl >/dev/null || {
kube::log::usage "curl must be installed" kube::log::usage "curl must be installed"
exit 1 exit 1
} }
local i
for i in $(seq 1 $times); do for i in $(seq 1 $times); do
local out local out
if out=$(curl -fs $url 2>/dev/null); then if out=$(curl -fs $url 2>/dev/null); then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment