update breaks

This commit is contained in:
Asim Aslam 2019-01-10 22:12:43 +00:00 committed by Vasiliy Tolstov
parent 6730e0c351
commit 8e92bd8567

View File

@ -12,7 +12,7 @@ type clientWrapper struct {
}
func (c *clientWrapper) Call(ctx context.Context, req client.Request, rsp interface{}, opts ...client.CallOption) error {
return hystrix.Do(req.Service()+"."+req.Method(), func() error {
return hystrix.Do(req.Service()+"."+req.Endpoint(), func() error {
return c.Client.Call(ctx, req, rsp, opts...)
}, nil)
}