Commit a9aca1b8 by Ryan Baxter

Client is registered in the LoadBalancerContext. Fixes #2699.

parent 6975781a
......@@ -58,7 +58,6 @@ class RestClientRibbonConfiguration {
RestClient client = new RibbonClientConfiguration.OverrideRestClient(config, serverIntrospector);
client.setLoadBalancer(loadBalancer);
client.setRetryHandler(retryHandler);
Monitors.registerObject("Client_" + this.name, client);
return client;
}
}
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