fix golangci-lint error

This commit is contained in:
André Roth
2024-04-20 22:49:04 +02:00
parent 9b1f4272c0
commit 05fed16f6d

View File

@@ -125,7 +125,7 @@ func (list *List) RunTaskInBackground(name string, resources []string, process P
tasks := list.usedResources.UsedBy(resources)
for len(tasks) > 0 {
for _, task := range(tasks) {
for _, task := range tasks {
list.Unlock()
list.wgTasks[task.ID].Wait()
list.Lock()