-
Notifications
You must be signed in to change notification settings - Fork 1k
started work #1992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.2.x
Are you sure you want to change the base?
started work #1992
Conversation
Signed-off-by: wind57 <[email protected]>
@@ -57,32 +57,34 @@ public KubernetesClientServicesListSupplier(Environment environment, | |||
|
|||
@Override | |||
public Flux<List<ServiceInstance>> get() { | |||
List<ServiceInstance> result = new ArrayList<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we had our code as :
public Flux<List<ServiceInstance>> get() {
List<ServiceInstance> result = ....
return Flux.just(result);
}
and it changes to :
public Flux<List<ServiceInstance>> get() {
return Flux.defer(() -> {
List<ServiceInstance> result = ....
return Flux.just(result);
})
}
That is the actual fix.
List<ServiceInstance> result = new ArrayList<>(); | ||
String serviceName = getServiceId(); | ||
LOG.debug(() -> "serviceID : " + serviceName); | ||
return Flux.defer(() -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same fix as above, nothing changes besides that
@@ -63,24 +56,4 @@ public static Endpoints endpoints(int port, String host, String namespace) { | |||
.build(); | |||
} | |||
|
|||
@TestConfiguration | |||
public static class LoadBalancerConfiguration { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not removed, but moved to individual classes
Signed-off-by: wind57 <[email protected]>
Signed-off-by: wind57 <[email protected]>
No description provided.