mirror of
https://github.com/restic/restic.git
synced 2026-10-31 12:35:42 +00:00
repository: Fix panic in benchmarkLoadIndex
This commit is contained in:
1 parent
13c32b0fbe
commit
ffca602315
1 file changed
+1
@@ -346,6 +346,7 @@ func benchmarkLoadIndex(b *testing.B, version uint) {
|
||||
},
|
||||
})
|
||||
}
|
||||
idx.Finalize()
|
||||
|
||||
id, err := index.SaveIndex(context.TODO(), repo, idx)
|
||||
rtest.OK(b, err)
|
||||
|
||||
Reference in new issue
Block a user