Skip to content

Commit

Permalink
fix job name invalid
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zhao <[email protected]>
  • Loading branch information
PetrusZ committed Dec 4, 2024
1 parent 20977c8 commit 328d6ac
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,7 @@ func GenJobName(workflow *commonmodels.WorkflowV4, jobName string, subTaskID int
}
}

return fmt.Sprintf("job-%d-%d-%d-%s-%s", stageIndex, jobIndex, subTaskID, stageName, jobName)
_ = stageName

return fmt.Sprintf("job-%d-%d-%d-%s", stageIndex, jobIndex, subTaskID, jobName)
}

0 comments on commit 328d6ac

Please sign in to comment.