mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #16473 from mesosphere/sttts-fix-panics-in-runKubectlWithTimeout
Auto commit by PR queue bot
This commit is contained in:
		@@ -115,6 +115,7 @@ func runPortForward(ns, podName string, port int) (*exec.Cmd, int) {
 | 
				
			|||||||
func runKubectlWithTimeout(timeout time.Duration, args ...string) string {
 | 
					func runKubectlWithTimeout(timeout time.Duration, args ...string) string {
 | 
				
			||||||
	logOutput := make(chan string)
 | 
						logOutput := make(chan string)
 | 
				
			||||||
	go func() {
 | 
						go func() {
 | 
				
			||||||
 | 
							defer GinkgoRecover()
 | 
				
			||||||
		logOutput <- runKubectl(args...)
 | 
							logOutput <- runKubectl(args...)
 | 
				
			||||||
	}()
 | 
						}()
 | 
				
			||||||
	select {
 | 
						select {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user