mirror of
https://github.com/octoleo/restic.git
synced 2025-01-11 18:18:45 +00:00
Mark written indexes as finalized
This commit is contained in:
parent
d9f9b77d68
commit
f7ff5b766c
@ -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 New Issue
Block a user