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:
parent
d9f9b77d68
commit
f7ff5b766c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue