test: use parameter instead of hardcoded constant

This commit is contained in:
Michael Eischer
2023-05-18 19:31:42 +02:00
parent a719d10e22
commit 0058745881
3 changed files with 3 additions and 3 deletions

View File

@@ -419,7 +419,7 @@ type blobCountingRepo struct {
}
func (repo *blobCountingRepo) SaveBlob(ctx context.Context, t restic.BlobType, buf []byte, id restic.ID, storeDuplicate bool) (restic.ID, bool, int, error) {
id, exists, size, err := repo.Repository.SaveBlob(ctx, t, buf, id, false)
id, exists, size, err := repo.Repository.SaveBlob(ctx, t, buf, id, storeDuplicate)
if exists {
return id, exists, size, err
}