mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
backends: pass error logger to backends
This commit is contained in:
@@ -26,7 +26,7 @@ func TestNoSpacePermanent(t *testing.T) {
|
||||
|
||||
dir := rtest.TempDir(t)
|
||||
|
||||
be, err := Open(context.Background(), Config{Path: dir, Connections: 2})
|
||||
be, err := Open(context.Background(), Config{Path: dir, Connections: 2}, t.Logf)
|
||||
rtest.OK(t, err)
|
||||
defer func() {
|
||||
rtest.OK(t, be.Close())
|
||||
|
||||
Reference in New Issue
Block a user