mirror of
https://github.com/restic/restic.git
synced 2025-08-14 04:27:42 +00:00
index: cleanup SaveIndex method
This commit is contained in:
@@ -336,7 +336,7 @@ func benchmarkLoadIndex(b *testing.B, version uint) {
|
||||
}
|
||||
idx.Finalize()
|
||||
|
||||
id, err := index.SaveIndex(context.TODO(), repo, idx)
|
||||
id, err := idx.SaveIndex(context.TODO(), repo)
|
||||
rtest.OK(b, err)
|
||||
|
||||
b.Logf("index saved as %v", id.Str())
|
||||
|
Reference in New Issue
Block a user