From 3ef978460cddaf5336019b88cf6b7c8fef650cdd Mon Sep 17 00:00:00 2001 From: geffzhang Date: Fri, 8 Jun 2018 22:55:58 +0800 Subject: [PATCH] update LoadBalancer Options (#388) update LoadBalancer with LoadBalancerOptions --- docs/features/servicediscovery.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/features/servicediscovery.rst b/docs/features/servicediscovery.rst index b212a2e6..5df1208a 100644 --- a/docs/features/servicediscovery.rst +++ b/docs/features/servicediscovery.rst @@ -35,7 +35,9 @@ and LeastConnection algorithm you can use. If no load balancer is specified Ocel "UpstreamPathTemplate": "/posts/{postId}", "UpstreamHttpMethod": [ "Put" ], "ServiceName": "product", - "LoadBalancer": "LeastConnection", + "LoadBalancerOptions": { + "Type": "LeastConnection" + }, "UseServiceDiscovery": true } @@ -151,4 +153,4 @@ The config might look something like } } -Please take a look through all of the docs to understand these options. \ No newline at end of file +Please take a look through all of the docs to understand these options.