mirror of
https://github.com/restic/restic.git
synced 2026-11-02 13:35:33 +00:00
Add extraObsolete to MasterIndex.Save
This commit is contained in:
1 parent
5898cb341f
commit
1ec628ddf5
4 files changed
+18
-17
No files matched your search
@@ -193,7 +193,7 @@ func rebuildIndex(t *testing.T, repo restic.Repository) {
|
||||
}
|
||||
|
||||
_, err = (repo.Index()).(*repository.MasterIndex).
|
||||
Save(context.TODO(), repo, restic.NewIDSet(), nil)
|
||||
Save(context.TODO(), repo, restic.NewIDSet(), nil, nil)
|
||||
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in new issue
Block a user