fix
This commit is contained in:
parent
2355fe44ef
commit
8485f91658
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ func (r *Runner) run(ctx context.Context, task *runnerv1.Task, reporter *report.
|
|||
}()
|
||||
ctx, fatal := context.WithCancel(ctx)
|
||||
defer fatal()
|
||||
if r.Config.Runner.Capacity == 1 {
|
||||
if r.cfg.Runner.Capacity == 1 {
|
||||
model.OnDecodeNodeError = func(node yaml.Node, out interface{}, err error) {
|
||||
msg := fmt.Sprintf("Failed to decode node %v into %T: %v", node, out, err)
|
||||
reporter.Logf("%s", msg)
|
||||
|
|
Loading…
Add table
Reference in a new issue