Skip to content

Commit

Permalink
Fix password restore in GlobalRuleConfigurationEventSubscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
RaigorJiang committed Oct 31, 2024
1 parent 3b90c59 commit 22b5353
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public synchronized void renew(final AlterGlobalRuleConfigurationEvent event) {
}
// SPEX ADDED: END
contextManager.getMetaDataContextManager().getGlobalConfigurationManager().alterGlobalRuleConfiguration(
TypedSPILoader.findService(RuleConfigurationPersistDecorator.class, ruleConfig.getClass()).map(optional -> optional.restore(ruleConfig.get())).orElse(ruleConfig.get()));
TypedSPILoader.findService(RuleConfigurationPersistDecorator.class, ruleConfig.get().getClass()).map(optional -> optional.restore(ruleConfig.get())).orElse(ruleConfig.get()));
}

@SphereEx
Expand Down

0 comments on commit 22b5353

Please sign in to comment.