index: cleanup SaveIndex method

This commit is contained in:
Michael Eischer committed 2024-05-24 21:33:17 +02:00
1 parent 2ca1c37721
commit 57d69aa640
3 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -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())