Add key hinting (#2097)

This commit is contained in:
Chris Howie
2018-11-25 09:10:45 -05:00
parent d53595e43c
commit 1688713400
7 changed files with 39 additions and 6 deletions

View File

@@ -99,7 +99,7 @@ func TestOpenLocal(t testing.TB, dir string) (r restic.Repository) {
}
repo := New(be)
err = repo.SearchKey(context.TODO(), test.TestPassword, 10)
err = repo.SearchKey(context.TODO(), test.TestPassword, 10, "")
if err != nil {
t.Fatal(err)
}