mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-04 07:49:35 +00:00 
			
		
		
		
	Merge branch 'master' of https://github.com/HackToday/kubernetes
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user