Commit d9f7842a by Ryan Baxter

Fix HystrixClientFallbackFactory implementation in docs. Fixes #2428

parent 65762b1d
......@@ -1248,7 +1248,7 @@ protected interface HystrixClient {
static class HystrixClientFallbackFactory implements FallbackFactory<HystrixClient> {
@Override
public HystrixClient create(Throwable cause) {
return new HystrixClientWithFallBackFactory() {
return new HystrixClient() {
@Override
public Hello iFailSometimes() {
return new Hello("fallback; reason was: " + cause.getMessage());
......
Markdown is supported
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