Skip to content
Snippets Groups Projects
Commit 5fefbeaf authored by Yordan Kinkov's avatar Yordan Kinkov
Browse files

#13 task list executor function fix

parent 46943a9a
No related branches found
No related tags found
1 merge request!8Sequential Task List executor
Pipeline #51140 passed with stage
in 28 seconds
......@@ -123,7 +123,7 @@ func (l *ListExecutor) Execute(ctx context.Context, list *tasklist.TaskList) {
list.StartTime = time.Now()
// execute groups sequentially
for i, _ := range list.Groups {
for i := range list.Groups {
if err := l.executeGroup(ctx, &list.Groups[i]); err != nil {
logger.Error("error executing group", zap.Error(err))
list.Groups[i].State = taskpkg.Failed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment