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
}