Skip to content

Commit

Permalink
Fix Vert.X SQL compilation after ProfileManager removal from Quarkus (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvavrik authored May 7, 2024
1 parent 35e9e3f commit c9c0e7d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit c9c0e7d

Please sign in to comment.