From 346e782c265c42bd8ce581fa647299fc9d01f12e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Roth?= Date: Sat, 20 Apr 2024 22:49:04 +0200 Subject: [PATCH] fix golangci-lint error --- task/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task/list.go b/task/list.go index 092ecb1ef..453e4db46 100644 --- a/task/list.go +++ b/task/list.go @@ -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()