mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-11 03:11:50 +00:00
fix golangci-lint error
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user