[KEYCLOAK-8101] Return just cached deployment to prevent NPE
This commit is contained in:
parent
b606a25684
commit
fdc9882709
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ public class PathBasedKeycloakConfigResolver implements KeycloakConfigResolver {
|
|||
if (!cacheConfiguration(pathFragment, configuration)) {
|
||||
throw new IllegalStateException("Not able to read the file " + configuration);
|
||||
}
|
||||
deployment = getCachedDeployment(pathFragment);
|
||||
}
|
||||
|
||||
return deployment;
|
||||
|
|
Loading…
Reference in a new issue