update breaks
This commit is contained in:
parent
6730e0c351
commit
8e92bd8567
@ -12,7 +12,7 @@ type clientWrapper struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *clientWrapper) Call(ctx context.Context, req client.Request, rsp interface{}, opts ...client.CallOption) error {
|
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...)
|
return c.Client.Call(ctx, req, rsp, opts...)
|
||||||
}, nil)
|
}, nil)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user