Return hdrSize in ListPack

This commit is contained in:
Alexander Weiss
2020-11-16 04:03:45 +01:00
parent cac481634c
commit c3ddde9e7d
6 changed files with 24 additions and 24 deletions

View File

@@ -749,7 +749,7 @@ func checkPack(ctx context.Context, r restic.Repository, id restic.ID, size int6
return errors.Errorf("Pack size does not match, want %v, got %v", size, realSize)
}
blobs, err := pack.List(r.Key(), packfile, size)
blobs, _, err := pack.List(r.Key(), packfile, size)
if err != nil {
return err
}