update breaks
This commit is contained in:
parent
b8105ba4d1
commit
d0adceec59
2
http.go
2
http.go
@ -87,7 +87,7 @@ func (h *httpClient) call(ctx context.Context, address string, req client.Reques
|
||||
URL: &url.URL{
|
||||
Scheme: "http",
|
||||
Host: address,
|
||||
Path: req.Method(),
|
||||
Path: req.Endpoint(),
|
||||
},
|
||||
Header: header,
|
||||
Body: buf,
|
||||
|
@ -40,7 +40,7 @@ func (h *httpRequest) Service() string {
|
||||
return h.service
|
||||
}
|
||||
|
||||
func (h *httpRequest) Method() string {
|
||||
func (h *httpRequest) Endpoint() string {
|
||||
return h.method
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user