mirror of
https://github.com/restic/restic.git
synced 2026-09-03 11:17:14 +00:00
check: add index loading progress bar
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
func TestCheckRepo(t testing.TB, repo restic.Repository) {
|
||||
chkr := New(repo, true)
|
||||
|
||||
hints, errs := chkr.LoadIndex(context.TODO())
|
||||
hints, errs := chkr.LoadIndex(context.TODO(), nil)
|
||||
if len(errs) != 0 {
|
||||
t.Fatalf("errors loading index: %v", errs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user