Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
line is 141 characters (lll)
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Muller committed Sep 9, 2019
1 parent 10e9d94 commit 579a96f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion registry/errortransport.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import (

type HttpStatusError struct {
Response *http.Response
Body []byte // Copied from `Response.Body` to avoid problems with unclosed bodies later. Nobody calls `err.Response.Body.Close()`, ever.
// Copied from `Response.Body` to avoid problems with unclosed bodies later.
// Nobody calls `err.Response.Body.Close()`, ever.
Body []byte
}

func (err *HttpStatusError) Error() string {
Expand Down

0 comments on commit 579a96f

Please sign in to comment.