mirror of
https://github.com/restic/restic.git
synced 2025-08-11 04:08:03 +00:00
Wire context into backend layout detection
This commit is contained in:
@@ -36,7 +36,7 @@ func TestLayout(t *testing.T) {
|
||||
rtest.SetupTarTestFixture(t, path, filepath.Join("..", "testdata", test.filename))
|
||||
|
||||
repo := filepath.Join(path, "repo")
|
||||
be, err := Open(Config{
|
||||
be, err := Open(context.TODO(), Config{
|
||||
Path: repo,
|
||||
Layout: test.layout,
|
||||
})
|
||||
|
Reference in New Issue
Block a user