namelessssssssssss commented on code in PR #13045:
URL: https://github.com/apache/dubbo/pull/13045#discussion_r1322323074


##########
dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/wrapper/ScopeClusterInvoker.java:
##########
@@ -291,7 +292,7 @@ private void createInjvmInvoker(Exporter<?> exporter) {
                     Invoker<?> invoker = protocolSPI.refer(getInterface(), 
consumerUrl);
                     List<Invoker<?>> invokers = new ArrayList<>();
                     invokers.add(invoker);
-                    injvmInvoker = Cluster.getCluster(url.getScopeModel(), 
Cluster.DEFAULT, false).join(new StaticDirectory(url, invokers), true);
+                    injvmInvoker = Cluster.getCluster(url.getScopeModel(), 
DEFAULT_CLUSTER, false).join(new StaticDirectory(url, invokers), true);

Review Comment:
   Using DEFAULT_CLUSTER to avoid the reference of Cluster



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to