Skip to content
Snippets Groups Projects
Unverified Commit 0ba3e9b7 authored by Xin.Zh's avatar Xin.Zh Committed by GitHub
Browse files

Merge pull request #23 from hxmhlt/bugfix/http_client

http client bug fix
parents 94ddbacf e95e93e2
No related branches found
No related tags found
No related merge requests found
...@@ -130,7 +130,7 @@ func (c *HTTPClient) Call(ctx context.Context, service *registry.ServiceURL, req ...@@ -130,7 +130,7 @@ func (c *HTTPClient) Call(ctx context.Context, service *registry.ServiceURL, req
return jerrors.Trace(err) return jerrors.Trace(err)
} }
rspBody, err := c.Do(service.Location, service.Path, httpHeader, reqBody) rspBody, err := c.Do(service.Location, service.Query.Get("interface"), httpHeader, reqBody)
if err != nil { if err != nil {
return jerrors.Trace(err) return jerrors.Trace(err)
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment