Commit 64c668f7 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

parent e6cf082d
......@@ -33,14 +33,7 @@ public class SampleActuatorApplication {
@Bean
public HealthIndicator helloHealthIndicator() {
return new HealthIndicator() {
@Override
public Health health() {
return Health.up().withDetail("hello", "world").build();
}
};
return () -> Health.up().withDetail("hello", "world").build();
}
}
......@@ -18,4 +18,4 @@ spring.jmx.enabled=true
spring.jackson.serialization.write_dates_as_timestamps=false
management.httptrace.include=REQUEST_HEADERS,RESPONSE_HEADERS,PRINCIPAL,REMOTE_ADDRESS,SESSION_ID
management.trace.http.include=request-headers,response-headers,principal,remote-address,session-id
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment