mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +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)
|
tasks := list.usedResources.UsedBy(resources)
|
||||||
for len(tasks) > 0 {
|
for len(tasks) > 0 {
|
||||||
for _, task := range(tasks) {
|
for _, task := range tasks {
|
||||||
list.Unlock()
|
list.Unlock()
|
||||||
list.wgTasks[task.ID].Wait()
|
list.wgTasks[task.ID].Wait()
|
||||||
list.Lock()
|
list.Lock()
|
||||||
|
|||||||
Reference in New Issue
Block a user