From f4d1ac91cc6f94e1606053b4e08f4647fd319dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Forever=E6=9D=A8?= <453190450@qq.com> Date: Fri, 28 Dec 2018 15:16:21 +0800 Subject: [PATCH] Fix wrong empty check in FlowRuleApiPublisher of Sentinel dashboard (#353) - the wrong `isEmpty` check causes the rule cannot be deleted --- .../csp/sentinel/dashboard/rule/FlowRuleApiPublisher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/rule/FlowRuleApiPublisher.java b/sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/rule/FlowRuleApiPublisher.java index 05530101..ba2a821b 100644 --- a/sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/rule/FlowRuleApiPublisher.java +++ b/sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/rule/FlowRuleApiPublisher.java @@ -45,7 +45,7 @@ public class FlowRuleApiPublisher implements DynamicRulePublisher set = appManagement.getDetailApp(app).getMachines();