mirror of
https://github.com/mailgun/groupcache.git
synced 2024-11-16 14:10:04 +00:00
fix(http.go): removing variable that doesn't exist
This commit is contained in:
parent
1081294c45
commit
26cee4afba
2
http.go
2
http.go
@ -274,7 +274,7 @@ func (h *httpGetter) makeRequest(ctx context.Context, m string, in request, b io
|
||||
url.QueryEscape(in.GetGroup()),
|
||||
url.QueryEscape(in.GetKey()),
|
||||
)
|
||||
req, err := http.NewRequestWithContext(ctx, method, u, nil)
|
||||
req, err := http.NewRequestWithContext(ctx, m, u, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user