*: partial staticcheck fix

This commit is contained in:
wpedrak
2021-03-10 13:07:36 +01:00
committed by Wojtek Pędrak
parent cb0e58942f
commit 2c2456bf3d
23 changed files with 39 additions and 40 deletions

View File

@@ -523,7 +523,7 @@ type simpleHTTPClient struct {
// ErrNoRequest indicates that the HTTPRequest object could not be found
// or was nil. No processing could continue.
var ErrNoRequest = errors.New("No HTTPRequest was available")
var ErrNoRequest = errors.New("no HTTPRequest was available")
func (c *simpleHTTPClient) Do(ctx context.Context, act httpAction) (*http.Response, []byte, error) {
req := act.HTTPRequest(c.endpoint)