From 3c776a82b5ac3c3612389899f5252b51b054d4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Vav=C5=99=C3=ADk?= Date: Tue, 7 May 2024 20:14:12 +0200 Subject: [PATCH] Fix Vert.X SQL compilation after ProfileManager removal from Quarkus --- .../src/main/java/io/quarkus/ts/vertx/sql/Application.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql-db/vertx-sql/src/main/java/io/quarkus/ts/vertx/sql/Application.java b/sql-db/vertx-sql/src/main/java/io/quarkus/ts/vertx/sql/Application.java index a70045b3e..ae4dada45 100644 --- a/sql-db/vertx-sql/src/main/java/io/quarkus/ts/vertx/sql/Application.java +++ b/sql-db/vertx-sql/src/main/java/io/quarkus/ts/vertx/sql/Application.java @@ -15,7 +15,7 @@ import io.quarkus.arc.profile.IfBuildProfile; import io.quarkus.runtime.StartupEvent; -import io.quarkus.runtime.configuration.ProfileManager; +import io.quarkus.runtime.configuration.ConfigUtils; import io.quarkus.ts.vertx.sql.services.DbPoolService; import io.vertx.core.impl.logging.Logger; import io.vertx.core.impl.logging.LoggerFactory; @@ -61,7 +61,7 @@ public class Application { OraclePool oracle; void onStart(@Observes StartupEvent ev) { - LOGGER.info("The application is starting with profile " + ProfileManager.getActiveProfile()); + LOGGER.info("The application is starting with profiles " + ConfigUtils.getProfiles()); ObjectMapper mapper = DatabindCodec.mapper(); mapper.setSerializationInclusion(Include.NON_NULL);