|
@@ -195,7 +195,7 @@ public final class FlowRuleUtil { |
|
|
if (!isWindowConfigValid(clusterConfig.getSampleCount(), clusterConfig.getWindowIntervalMs())) { |
|
|
if (!isWindowConfigValid(clusterConfig.getSampleCount(), clusterConfig.getWindowIntervalMs())) { |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
switch (rule.getStrategy()) { |
|
|
|
|
|
|
|
|
switch (clusterConfig.getStrategy()) { |
|
|
case ClusterRuleConstant.FLOW_CLUSTER_STRATEGY_NORMAL: |
|
|
case ClusterRuleConstant.FLOW_CLUSTER_STRATEGY_NORMAL: |
|
|
return true; |
|
|
return true; |
|
|
default: |
|
|
default: |
|
|