mirror of
https://github.com/restic/restic.git
synced 2024-12-25 17:27:25 +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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
err = idx.Encode(blob)
|
err = idx.Finalize(blob)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue