瀏覽代碼

doc: Fix incorrect comment in FlowRuleComparator (#1915)

master
brothelul GitHub 3 年之前
父節點
當前提交
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;
}


Loading…
取消
儲存