Skip to content

Commit

Permalink
ID-2953: remove confusing log line (#43)
Browse files Browse the repository at this point in the history
remove confusing log line
  • Loading branch information
annemarte authored May 25, 2023
1 parent 9318f2b commit 53b574b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,8 @@ public HealthCheckEndpointConfig(GenericApplicationContext applicationContext, H

@Override
public void afterPropertiesSet() {
if (healthCheckEndpointProperties.healthEndpoints() == null || healthCheckEndpointProperties.healthEndpoints().isEmpty()) {
log.info("No health check endpoints configured");
} else {
if (healthCheckEndpointProperties.healthEndpoints() != null && !healthCheckEndpointProperties.healthEndpoints().isEmpty()) {
log.info("Configured health check endpoints: {}", healthCheckEndpointProperties.healthEndpoints().keySet());
}

}
}

0 comments on commit 53b574b

Please sign in to comment.