mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix AuditEventsJmxEndpoint bean name
See gh-6579
This commit is contained in:
parent
8a9a61b64f
commit
b4b8370632
@ -90,7 +90,7 @@ public class EndpointMBeanExportAutoConfiguration {
|
||||
@Bean
|
||||
@ConditionalOnBean(AuditEventRepository.class)
|
||||
@ConditionalOnEnabledEndpoint("auditevents")
|
||||
public AuditEventsJmxEndpoint abstractEndpointMBean(
|
||||
public AuditEventsJmxEndpoint auditEventsEndpoint(
|
||||
AuditEventRepository auditEventRepository) {
|
||||
return new AuditEventsJmxEndpoint(this.objectMapper, auditEventRepository);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user