Selaa lähdekoodia

doc: Fix incorrect comment in FlowRuleComparator (#1915)

master
brothelul GitHub 4 vuotta sitten
vanhempi
commit
b2502326cd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 Näytä tiedosto

@@ -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…
Peruuta
Tallenna