mirror of https://github.com/k3s-io/k3s
Merge pull request #16473 from mesosphere/sttts-fix-panics-in-runKubectlWithTimeout
Auto commit by PR queue botpull/6/head
commit
c691f66b79
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue