1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-24 16:54:00 +00:00

Mark written indexes as finalized

This commit is contained in:
Alexander Neumann 2015-10-25 15:35:18 +01:00
parent d9f9b77d68
commit f7ff5b766c

View file

@ -517,7 +517,7 @@ func (r *Repository) saveIndex(indexes ...*Index) error {
return err
}
err = idx.Encode(blob)
err = idx.Finalize(blob)
if err != nil {
return err
}