debug: fix linter warning
This commit is contained in:
parent
dc62ec5933
commit
5975ed61f3
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
err := be.Load(ctx, h, int(blob.Length), int64(blob.Offset), func(rd io.Reader) error {
|
||||||
n, err := io.ReadFull(rd, buf)
|
n, err := io.ReadFull(rd, buf)
|
||||||
if err != nil {
|
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
|
return nil
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue