Resolve disabled options even at fast startup (#32245)

Closes #30380

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
This commit is contained in:
Václav Muzikář 2024-08-20 12:15:32 +02:00 committed by GitHub
parent 85a0fa389c
commit aee9390812
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,6 +79,8 @@ public class KeycloakMain implements QuarkusApplication {
return; return;
} }
Environment.setParsedCommand(new Start());
try { try {
PropertyMappers.sanitizeDisabledMappers(); PropertyMappers.sanitizeDisabledMappers();
Picocli.validateConfig(cliArgs, new Start()); Picocli.validateConfig(cliArgs, new Start());