fix missing semi-colon java example in observability documentation
This commit is contained in:
@@ -192,8 +192,8 @@ Instead, you can alter the provided `ObservationRegistry` with an `ObservationPr
|
||||
----
|
||||
@Bean
|
||||
ObservationRegistryCustomizer<ObservationRegistry> noSpringSecurityObservations() {
|
||||
ObservationPredicate predicate = (name, context) -> !name.startsWith("spring.security.")
|
||||
return (registry) -> registry.observationConfig().observationPredicate(predicate)
|
||||
ObservationPredicate predicate = (name, context) -> !name.startsWith("spring.security.");
|
||||
return (registry) -> registry.observationConfig().observationPredicate(predicate);
|
||||
}
|
||||
----
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@ Instead, you can alter the provided `ObservationRegistry` with an `ObservationPr
|
||||
@Bean
|
||||
ObservationRegistryCustomizer<ObservationRegistry> noSpringSecurityObservations() {
|
||||
ObservationPredicate predicate = (name, context) -> !name.startsWith("spring.security.");
|
||||
return (registry) -> registry.observationConfig().observationPredicate(predicate)
|
||||
return (registry) -> registry.observationConfig().observationPredicate(predicate);
|
||||
}
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user