debug: fix linter warning

This commit is contained in:
Michael Eischer 2021-03-10 21:22:53 +01:00
parent dc62ec5933
commit 5975ed61f3
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ func loadBlobs(ctx context.Context, repo restic.Repository, pack restic.ID, list
err := be.Load(ctx, h, int(blob.Length), int64(blob.Offset), func(rd io.Reader) error {
n, err := io.ReadFull(rd, buf)
if err != nil {
return fmt.Errorf("read error after %d bytes: %v\n", n, err)
return fmt.Errorf("read error after %d bytes: %v", n, err)
}
return nil
})