Fix compatibility with Go < 1.5
This commit is contained in:
parent
23aeca85ff
commit
5a45d95b80
1 changed files with 1 additions and 2 deletions
|
@ -1384,8 +1384,7 @@ func BenchmarkDelayedWalkTree(t *testing.B) {
|
||||||
treeJobs := make(chan restic.WalkTreeJob)
|
treeJobs := make(chan restic.WalkTreeJob)
|
||||||
go restic.WalkTree(dr, root, nil, treeJobs)
|
go restic.WalkTree(dr, root, nil, treeJobs)
|
||||||
|
|
||||||
for range treeJobs {
|
for _ = range treeJobs {
|
||||||
// fmt.Printf("job: %v\n", job)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue