mirror of
https://github.com/restic/restic.git
synced 2026-11-19 23:01:08 +00:00
repository: inline MasterIndex interface into Repository interface
This commit is contained in:
1 parent
3eeb6723cd
commit
4df887406f
22 files changed
+109
-94
No files matched your search
@@ -362,7 +362,7 @@ func testIndexSave(t *testing.T, version uint) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
err = repo.Index().Save(context.TODO(), repo, nil, nil, restic.MasterIndexSaveOpts{})
|
||||
err = repo.SaveIndex(context.TODO(), nil, nil, restic.MasterIndexSaveOpts{})
|
||||
if err != nil {
|
||||
t.Fatalf("unable to save new index: %v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user