Skip to content

Commit

Permalink
Spring boot 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
edeandrea committed May 23, 2024
1 parent 8d97d4f commit 7b6d3c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.5</version>
<version>3.3.0</version>
<relativePath/>
</parent>
<groupId>com.redhat.summit2019</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
public class OtelDataSourceConfig {
@Bean
public DataSource dataSource(DataSourceProperties dataSourceProperties, OpenTelemetry openTelemetry) {
var datasSource = DataSourceBuilder.create()
var dataSource = DataSourceBuilder.create()
.driverClassName(dataSourceProperties.determineDriverClassName())
.url(dataSourceProperties.determineUrl())
.username(dataSourceProperties.getUsername())
.password(dataSourceProperties.getPassword())
.build();

return JdbcTelemetry.create(openTelemetry).wrap(datasSource);
return JdbcTelemetry.create(openTelemetry).wrap(dataSource);
}
}

0 comments on commit 7b6d3c3

Please sign in to comment.