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);