Commit c691f66b authored by k8s-merge-robot's avatar k8s-merge-robot

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

Auto commit by PR queue bot
parents 848fed8f e755988d
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment