Skip to content
Permalink
Browse files
[3.0] fix #10035 ,n DubboService.java loadbalance does not have a cor…
…rect default value (#10036)

change DubboService#loadbalance() default ClusterRules.EMPTY;  to loadbalance() default LoadbalanceRules.EMPTY;
  • Loading branch information
yswdqz committed May 16, 2022
1 parent 96cff83 commit 693965a337944562055ff61698ab4a8a03fa8b1c
Showing 1 changed file with 2 additions and 1 deletion.
@@ -18,6 +18,7 @@


import org.apache.dubbo.common.constants.ClusterRules;
import org.apache.dubbo.common.constants.LoadbalanceRules;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
@@ -205,7 +206,7 @@
*
* you can use {@link org.apache.dubbo.common.constants.LoadbalanceRules#RANDOM} ……
*/
String loadbalance() default ClusterRules.EMPTY;
String loadbalance() default LoadbalanceRules.EMPTY;

/**
* Whether to enable async invocation, default value is false

0 comments on commit 693965a

Please sign in to comment.