mirror of
https://github.com/restic/restic.git
synced 2025-10-09 00:50:13 +00:00
backend: pass context into every backend constructor
This commit is contained in:
@@ -117,7 +117,7 @@ func TestListAPI(t *testing.T) {
|
||||
URL: srvURL,
|
||||
}
|
||||
|
||||
be, err := rest.Open(cfg, http.DefaultTransport)
|
||||
be, err := rest.Open(context.TODO(), cfg, http.DefaultTransport)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user