mirror of
https://github.com/restic/restic.git
synced 2026-06-25 01:54:21 +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:
@@ -183,7 +183,7 @@ func runDebugDump(gopts GlobalOptions, args []string) error {
|
||||
}
|
||||
}
|
||||
|
||||
err = repo.LoadIndex(context.TODO())
|
||||
err = repo.LoadIndex(gopts.ctx)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user