mirror of
https://github.com/restic/restic.git
synced 2024-12-23 16:26:11 +00:00
repository: Fix panic in benchmarkLoadIndex
This commit is contained in:
parent
13c32b0fbe
commit
ffca602315
1 changed files with 1 additions and 0 deletions
|
@ -346,6 +346,7 @@ func benchmarkLoadIndex(b *testing.B, version uint) {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
idx.Finalize()
|
||||||
|
|
||||||
id, err := index.SaveIndex(context.TODO(), repo, idx)
|
id, err := index.SaveIndex(context.TODO(), repo, idx)
|
||||||
rtest.OK(b, err)
|
rtest.OK(b, err)
|
||||||
|
|
Loading…
Reference in a new issue