forked from TrueCloudLab/restic
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