index: cleanup SaveIndex method

This commit is contained in:
Michael Eischer
2024-05-19 21:10:25 +02:00
parent 2ca1c37721
commit 57d69aa640
3 changed files with 23 additions and 23 deletions

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())