Browse Source

Fix log typo in task.go (#26337)

Signed-off-by: cassiozareck <cassiomilczareck@gmail.com>
tags/v1.21.0-rc0
cassiozareck 9 months ago
parent
commit
952882fe4a
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      models/actions/task.go

+ 1
- 1
models/actions/task.go View File

@@ -278,7 +278,7 @@ func CreateTaskForRunner(ctx context.Context, runner *ActionRunner) (*ActionTask
if gots, err := jobparser.Parse(job.WorkflowPayload); err != nil {
return nil, false, fmt.Errorf("parse workflow of job %d: %w", job.ID, err)
} else if len(gots) != 1 {
return nil, false, fmt.Errorf("workflow of job %d: not signle workflow", job.ID)
return nil, false, fmt.Errorf("workflow of job %d: not single workflow", job.ID)
} else {
_, workflowJob = gots[0].Job()
}

Loading…
Cancel
Save