backend: pass context into every backend constructor
This commit is contained in:
parent
4df77e9f26
commit
56836364a4
9 changed files with 19 additions and 19 deletions
|
@ -39,7 +39,7 @@ func newTestSuite(t testing.TB) *test.Suite[rclone.Config] {
|
|||
// OpenFn is a function that opens a previously created temporary repository.
|
||||
Open: func(cfg rclone.Config) (restic.Backend, error) {
|
||||
t.Logf("Open()")
|
||||
return rclone.Open(cfg, nil)
|
||||
return rclone.Open(context.TODO(), cfg, nil)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue