Skip to content

Conversation

@wind57
Copy link
Contributor

@wind57 wind57 commented Aug 18, 2025

No description provided.

Signed-off-by: wind57 <[email protected]>
@wind57 wind57 changed the title minor simplification do not use Flux::defer when there is no need Aug 18, 2025

LOG.debug(() -> "found services : " + result);
return Flux.defer(() -> Flux.just(result));
return Flux.just(result);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since result is already a computed List<ServiceInstance>, there is no need to defer


LOG.debug(() -> "found services : " + result);
return Flux.defer(() -> Flux.just(result));
return Flux.just(result);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, no need to defer

Signed-off-by: wind57 <[email protected]>
@wind57 wind57 marked this pull request as ready for review August 18, 2025 20:03
@wind57
Copy link
Contributor Author

wind57 commented Aug 18, 2025

@ryanjbaxter minor thing over here. thank you

@ryanjbaxter ryanjbaxter added this to the 3.2.3 milestone Aug 18, 2025
@ryanjbaxter ryanjbaxter merged commit 876ce50 into spring-cloud:3.2.x Aug 18, 2025
17 checks passed
@github-project-automation github-project-automation bot moved this to Done in 2025.0.1 Aug 18, 2025
@github-project-automation github-project-automation bot moved this to Done in 2024.0.3 Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done
Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants