Skip to content

Commit eb330e1

Browse files
committed
Fix configurer order.
Signed-off-by: Olga Maciaszek-Sharma <[email protected]> # Conflicts: # spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/event/InstanceRegisteredEvent.java # spring-cloud-commons/src/test/java/org/springframework/cloud/client/serviceregistry/AbstractAutoServiceRegistrationTests.java
1 parent 64e44ce commit eb330e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/annotation/LoadBalancerClientConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ public ServiceInstanceListSupplier weightedServiceInstanceListSupplier(Configura
163163
public ServiceInstanceListSupplier subsetServiceInstanceListSupplier(ConfigurableApplicationContext context) {
164164
return ServiceInstanceListSupplier.builder()
165165
.withDiscoveryClient()
166-
.withSubset()
167166
.withCaching()
167+
.withSubset()
168168
.build(context);
169169
}
170170

@@ -266,8 +266,8 @@ public ServiceInstanceListSupplier weightedServiceInstanceListSupplier(Configura
266266
public ServiceInstanceListSupplier subsetServiceInstanceListSupplier(ConfigurableApplicationContext context) {
267267
return ServiceInstanceListSupplier.builder()
268268
.withBlockingDiscoveryClient()
269-
.withSubset()
270269
.withCaching()
270+
.withSubset()
271271
.build(context);
272272
}
273273

0 commit comments

Comments
 (0)