From c193cea1194592bc7dfaa19d2bbe5a680b2b70d7 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 10 Oct 2020 15:24:26 +0200 Subject: [PATCH] Pass Context to NewRestorer() --- internal/restorer/restorer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/restorer/restorer_test.go b/internal/restorer/restorer_test.go index f3d43be4d..86f2158bd 100644 --- a/internal/restorer/restorer_test.go +++ b/internal/restorer/restorer_test.go @@ -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) {