KEYCLOAK-3920: Configured scheduled-task-interval doesn't work.

This commit is contained in:
Stan Silvert 2016-11-28 14:10:55 -05:00
parent 2cca3bf570
commit 0b8f9edb9e

View file

@ -85,7 +85,7 @@ public final class KeycloakAdapterConfigService {
// be where the Keycloak server's Config interface expects it to be. // be where the Keycloak server's Config interface expects it to be.
private void massageScheduledTaskInterval(ModelNode copy) { private void massageScheduledTaskInterval(ModelNode copy) {
if (!copy.hasDefined("scheduled-task-intervale")) return; if (!copy.hasDefined("scheduled-task-interval")) return;
ModelNode taskInterval = copy.remove("scheduled-task-interval"); ModelNode taskInterval = copy.remove("scheduled-task-interval");
copy.get("scheduled", "interval").set(taskInterval); copy.get("scheduled", "interval").set(taskInterval);
} }