From 2f6b7ce91a1d3faa9edf7ee5a656a0039be7450c Mon Sep 17 00:00:00 2001 From: Giteabot Date: Sat, 5 Aug 2023 18:15:49 +0800 Subject: [PATCH] Fix log typo in task.go (#26337) (#26343) Backport #26337 by @cassiozareck Signed-off-by: cassiozareck (cherry picked from commit 8a97cdd91bff61129505d63311a0686c61abca71) --- models/actions/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/actions/task.go b/models/actions/task.go index fc63114d28..4bb702a364 100644 --- a/models/actions/task.go +++ b/models/actions/task.go @@ -281,7 +281,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() }