Correct typ-o in addsvc for concatEndpoint
hsinih
7 years ago
66 | 66 | ).Endpoint() |
67 | 67 | concatEndpoint = opentracing.TraceClient(tracer, "Concat")(concatEndpoint) |
68 | 68 | concatEndpoint = limiter(concatEndpoint) |
69 | sumEndpoint = circuitbreaker.Gobreaker(gobreaker.NewCircuitBreaker(gobreaker.Settings{ | |
69 | concatEndpoint = circuitbreaker.Gobreaker(gobreaker.NewCircuitBreaker(gobreaker.Settings{ | |
70 | 70 | Name: "Concat", |
71 | 71 | Timeout: 30 * time.Second, |
72 | }))(sumEndpoint) | |
72 | }))(concatEndpoint) | |
73 | 73 | } |
74 | 74 | |
75 | 75 | return addsvc.Endpoints{ |