From a97210e990217fafa80a26af7da78d13dc658388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Muzik=C3=A1=C5=99?= Date: Mon, 19 Aug 2024 18:31:55 +0200 Subject: [PATCH] Resolve disabled options even at fast startup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #30380 Signed-off-by: Václav Muzikář --- .../quarkus/runtime/configuration/mappers/PropertyMappers.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/mappers/PropertyMappers.java b/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/mappers/PropertyMappers.java index 10bbff0be944..e7e194701ae7 100644 --- a/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/mappers/PropertyMappers.java +++ b/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/mappers/PropertyMappers.java @@ -257,8 +257,6 @@ private void remove(String key, PropertyMapper mapper) { } public void sanitizeDisabledMappers() { - if (Environment.getParsedCommand().isEmpty()) return; // do not sanitize when no command is present - DisabledMappersInterceptor.runWithDisabled(() -> { // We need to have the whole configuration available // Initialize profile in order to check state of features. Disable Persisted CS for re-augmentation