mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
*: partial staticcheck fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user