mirror of
https://github.com/restic/restic.git
synced 2025-08-14 04:27:42 +00:00
repository: Fix panic in benchmarkLoadIndex
This commit is contained in:
@@ -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