mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
Pass Context to NewRestorer()
This commit is contained in:
parent
f0d49ca600
commit
c193cea119
@ -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 New Issue
Block a user