Polish variable name for consistency

See gh-43483
This commit is contained in:
Yanming Zhou 2024-12-11 17:30:05 +08:00 committed by Moritz Halbritter
parent 709b9bb149
commit a964bbd8cb
1 changed files with 2 additions and 2 deletions

View File

@ -75,8 +75,8 @@ public class H2ConsoleAutoConfiguration {
}
@Bean
H2ConsoleLogger h2ConsoleLogger(ObjectProvider<DataSource> dataSource) {
return new H2ConsoleLogger(dataSource, this.properties.getPath());
H2ConsoleLogger h2ConsoleLogger(ObjectProvider<DataSource> dataSources) {
return new H2ConsoleLogger(dataSources, this.properties.getPath());
}
private void configureH2ConsoleSettings(ServletRegistrationBean<JakartaWebServlet> registration,