mirror of
https://github.com/restic/restic.git
synced 2026-10-20 00:08:11 +00:00
check: add index loading progress bar
This commit is contained in:
1 parent
b0da0f152f
commit
91aef00df3
5 files changed
+45
-15
No files matched your search
@@ -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