Skip to content

Commit 9823377

Browse files
committed
Refactor usage of ContextManagerLifecycleListener.onInitialized
1 parent 9a9a670 commit 9823377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/core/src/main/java/org/apache/shardingsphere/mode/manager/ContextManager.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public ContextManager(final MetaDataContexts metaDataContexts, final ComputeNode
8181
stateContext = new StateContext(persistServiceFacade.getStateService().load());
8282
executorEngine = ExecutorEngine.createExecutorEngineWithSize(metaDataContexts.getMetaData().getProps().<Integer>getValue(ConfigurationPropertyKey.KERNEL_EXECUTOR_SIZE));
8383
for (ContextManagerLifecycleListener each : ShardingSphereServiceLoader.getServiceInstances(ContextManagerLifecycleListener.class)) {
84-
if (this.getComputeNodeInstanceContext().getModeConfiguration().isCluster()) {
84+
if (computeNodeInstanceContext.getModeConfiguration().isCluster()) {
8585
each.onInitialized(this);
8686
}
8787
}

0 commit comments

Comments
 (0)