Sync docs from 2.2.x to gh-pages

This commit is contained in:
buildmaster
2020-05-21 18:09:41 +00:00
parent 872a0ec2b7
commit 98e182b1de
2 changed files with 4 additions and 4 deletions

View File

@@ -1638,7 +1638,7 @@ We suggest passing a <code>DiscoveryClientServiceInstanceListSupplier</code> del
@Bean
public ServiceInstanceListSupplier discoveryClientServiceInstanceListSupplier(
ConfigurableApplicationContext context) {
return ServiceInstanceListSuppliers.builder()
return ServiceInstanceListSupplier.builder()
.withDiscoveryClient()
.withHealthChecks()
.withCaching()
@@ -1651,7 +1651,7 @@ We suggest passing a <code>DiscoveryClientServiceInstanceListSupplier</code> del
<dl>
<dt class="hdlist1">TIP</dt>
<dd>
<p>In order to make working on your own LoadBalancer configuration easier, we have added some utility methods in <code>ServiceInstanceListSuppliers</code> class.</p>
<p>In order to make working on your own LoadBalancer configuration easier, we have added a <code>builder()</code> method to the <code>ServiceInstanceListSupplier</code> class.</p>
</dd>
<dt class="hdlist1">TIP</dt>
<dd>

View File

@@ -1638,7 +1638,7 @@ We suggest passing a <code>DiscoveryClientServiceInstanceListSupplier</code> del
@Bean
public ServiceInstanceListSupplier discoveryClientServiceInstanceListSupplier(
ConfigurableApplicationContext context) {
return ServiceInstanceListSuppliers.builder()
return ServiceInstanceListSupplier.builder()
.withDiscoveryClient()
.withHealthChecks()
.withCaching()
@@ -1651,7 +1651,7 @@ We suggest passing a <code>DiscoveryClientServiceInstanceListSupplier</code> del
<dl>
<dt class="hdlist1">TIP</dt>
<dd>
<p>In order to make working on your own LoadBalancer configuration easier, we have added some utility methods in <code>ServiceInstanceListSuppliers</code> class.</p>
<p>In order to make working on your own LoadBalancer configuration easier, we have added a <code>builder()</code> method to the <code>ServiceInstanceListSupplier</code> class.</p>
</dd>
<dt class="hdlist1">TIP</dt>
<dd>