Skip to content

Commit

Permalink
Cloud Gateway - create additional registrations - PR review
Browse files Browse the repository at this point in the history
Signed-off-by: alexandr cumarav <[email protected]>
  • Loading branch information
cumarav committed Nov 6, 2023
1 parent 7b787d4 commit 650b162
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public CloudEurekaClient primaryEurekaClient(ApplicationInfoManager manager, Eur
@Bean
public List<AdditionalRegistration> additionalRegistration(StandardEnvironment environment) {
List<AdditionalRegistration> additionalRegistrations = new AdditionalRegistrationParser().extractAdditionalRegistrations(System.getenv());
log.debug("Parsed {} additional registrations, \t first: {}", additionalRegistrations.size(), additionalRegistrations.stream().findFirst().orElse(null));
log.debug("Parsed {} additional registration: {}", additionalRegistrations.size(), additionalRegistrations.toArray(new AdditionalRegistration[0]));
return additionalRegistrations;
}

Expand Down

0 comments on commit 650b162

Please sign in to comment.