(output string, list func() (string, error), sleep func(time.Duration))
| 83 | } |
| 84 | |
| 85 | func resolveWorkflowRunID(output string, list func() (string, error), sleep func(time.Duration)) (string, error) { |
| 86 | if runID := workflowRunIDFromOutput(output); runID != "" { |
| 87 | return runID, nil |
| 88 | } |
| 89 | return waitForWorkflowRun(list, sleep) |
| 90 | } |
| 91 | |
| 92 | type workflowRunDiagnosticExecutor func(name string, args ...string) (stdout string, stderr string, err error) |
| 93 |
no test coverage detected