Fix the cluster rule checking logic in FlowRuleUtil#checkClusterField() (#1105)
This commit is contained in:
parent
b1c8c43bbe
commit
dbf1f97dde
|
|
@ -195,7 +195,7 @@ public final class FlowRuleUtil {
|
|||
if (!isWindowConfigValid(clusterConfig.getSampleCount(), clusterConfig.getWindowIntervalMs())) {
|
||||
return false;
|
||||
}
|
||||
switch (rule.getStrategy()) {
|
||||
switch (clusterConfig.getStrategy()) {
|
||||
case ClusterRuleConstant.FLOW_CLUSTER_STRATEGY_NORMAL:
|
||||
return true;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in New Issue