Linter fixes

This commit is contained in:
Jose Garcia 2021-09-23 11:56:41 -04:00
parent 958990cef8
commit fb53ccb06a
3 changed files with 12 additions and 12 deletions

View file

@ -59,7 +59,7 @@ func (s *socketConn) Write(b []byte) (int, error) {
n, err := w.Write(b)
if err != nil {
return 0, fmt.Errorf("error writing: %v", err)
return 0, fmt.Errorf("error writing: %w", err)
}
if err := w.Close(); err != nil {