mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #86533 from RainbowMango/pr_improve_update_openapi_spec_output
Optimize error messages when updating openapi spec
This commit is contained in:
		@@ -79,7 +79,7 @@ APISERVER_PID=$!
 | 
				
			|||||||
if ! kube::util::wait_for_url "${API_HOST}:${API_PORT}/healthz" "apiserver: "; then
 | 
					if ! kube::util::wait_for_url "${API_HOST}:${API_PORT}/healthz" "apiserver: "; then
 | 
				
			||||||
  kube::log::error "Here are the last 10 lines from kube-apiserver (${API_LOGFILE})"
 | 
					  kube::log::error "Here are the last 10 lines from kube-apiserver (${API_LOGFILE})"
 | 
				
			||||||
  kube::log::error "=== BEGIN OF LOG ==="
 | 
					  kube::log::error "=== BEGIN OF LOG ==="
 | 
				
			||||||
  tail -10 "${API_LOGFILE}" || :
 | 
					  tail -10 "${API_LOGFILE}" >&2 || :
 | 
				
			||||||
  kube::log::error "=== END OF LOG ==="
 | 
					  kube::log::error "=== END OF LOG ==="
 | 
				
			||||||
  exit 1
 | 
					  exit 1
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user