mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
Pass Context to NewRestorer()
This commit is contained in:
parent
f0d49ca600
commit
c193cea119
1 changed files with 1 additions and 1 deletions
|
@ -758,7 +758,7 @@ func TestRestorerConsistentTimestampsAndPermissions(t *testing.T) {
|
|||
},
|
||||
})
|
||||
|
||||
res, err := NewRestorer(repo, id)
|
||||
res, err := NewRestorer(context.TODO(), repo, id)
|
||||
rtest.OK(t, err)
|
||||
|
||||
res.SelectFilter = func(item string, dstpath string, node *restic.Node) (selectedForRestore bool, childMayBeSelected bool) {
|
||||
|
|
Loading…
Reference in a new issue