Fix the cluster rule checking logic in FlowRuleUtil#checkClusterField() (#1105)

This commit is contained in:
wangyb 2019-10-22 20:28:21 +08:00 committed by Eric Zhao
parent b1c8c43bbe
commit dbf1f97dde
1 changed files with 1 additions and 1 deletions

View File

@ -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: