Skip to content

Commit

Permalink
Update plumbing/protocol/packp/uphav.go
Browse files Browse the repository at this point in the history
Co-authored-by: Paulo Gomes <[email protected]>
  • Loading branch information
aymanbagabas and pjbgf authored Jan 1, 2025
1 parent 9b68e5b commit 2b293b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plumbing/protocol/packp/uphav.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (u *UploadHaves) Encode(w io.Writer) error {
}

if _, err := pktline.Writef(w, "have %s\n", have); err != nil {
return fmt.Errorf("sending haves for %q: %s", have, err)
return fmt.Errorf("sending haves for %q: %w", have, err)
}

last = have
Expand Down

0 comments on commit 2b293b9

Please sign in to comment.