浏览代码

doc: Fix incorrect comment in FlowRuleComparator (#1915)

master
brothelul GitHub 4 年前
父节点
当前提交
b2502326cd
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRuleComparator.java

+ 1
- 1
sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRuleComparator.java 查看文件

@@ -28,7 +28,7 @@ public class FlowRuleComparator implements Comparator<FlowRule> {

@Override
public int compare(FlowRule o1, FlowRule o2) {
// Clustered mode will be on the top.
// the FlowRule in Clustered mode will be put at the end.
if (o1.isClusterMode() && !o2.isClusterMode()) {
return 1;
}


正在加载...
取消
保存