Skip to content

Commit 6546b78

Browse files
committed
hikari: better display name for otel: connections
1 parent 8eaaef3 commit 6546b78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/jooby-hikari/src/main/java/io/jooby/hikari/HikariModule.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,8 @@ static HikariConfig build(Environment env, String database) {
486486
}
487487
// wake driver for otel
488488
if (dburl != null && dburl.startsWith("jdbc:otel:")) {
489-
forceLoadDriver(databaseType(dburl.replace(":otel:", ":")), env);
489+
dbtype = databaseType(dburl.replace(":otel:", ":"));
490+
forceLoadDriver(dbtype, env);
490491
}
491492
if (dbtype == null) {
492493
String poolName =

0 commit comments

Comments
 (0)