mirror of
https://github.com/restic/restic.git
synced 2025-08-12 17:18:05 +00:00
use global context for check, debug, dump, find, forget, init, key,
list, mount, tag, unlock commands gh-1434
This commit is contained in:
@@ -115,7 +115,7 @@ func Create(ctx context.Context, cfg Config, rt http.RoundTripper) (restic.Backe
|
||||
sem: sem,
|
||||
}
|
||||
|
||||
present, err := be.Test(context.TODO(), restic.Handle{Type: restic.ConfigFile})
|
||||
present, err := be.Test(ctx, restic.Handle{Type: restic.ConfigFile})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user