Merge pull request #16473 from mesosphere/sttts-fix-panics-in-runKubectlWithTimeout

Auto commit by PR queue bot
pull/6/head
k8s-merge-robot 2015-10-29 10:53:19 -07:00
commit c691f66b79
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ func runPortForward(ns, podName string, port int) (*exec.Cmd, int) {
func runKubectlWithTimeout(timeout time.Duration, args ...string) string {
logOutput := make(chan string)
go func() {
defer GinkgoRecover()
logOutput <- runKubectl(args...)
}()
select {