- the wrong `isEmpty` check causes the rule cannot be deletedmaster
@@ -45,7 +45,7 @@ public class FlowRuleApiPublisher implements DynamicRulePublisher<List<FlowRuleE | |||||
if (StringUtil.isBlank(app)) { | if (StringUtil.isBlank(app)) { | ||||
return; | return; | ||||
} | } | ||||
if (rules == null || rules.isEmpty()) { | |||||
if (rules == null) { | |||||
return; | return; | ||||
} | } | ||||
Set<MachineInfo> set = appManagement.getDetailApp(app).getMachines(); | Set<MachineInfo> set = appManagement.getDetailApp(app).getMachines(); | ||||