diff --git a/repository/repository.go b/repository/repository.go index 35d508122..5f1650c62 100644 --- a/repository/repository.go +++ b/repository/repository.go @@ -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 }