This commit is contained in:
Kennan 2015-02-06 08:04:16 +08:00
commit 492e03697f

View File

@ -24,13 +24,13 @@ kube::util::wait_for_url() {
local wait=${3:-0.2}
local times=${4:-10}
local i
which curl >/dev/null || {
kube::log::usage "curl must be installed"
exit 1
}
local i
for i in $(seq 1 $times); do
local out
if out=$(curl -fs $url 2>/dev/null); then