Browse Source

nacos持久化

master
wangjx 3 years ago
parent
commit
6cf52ba31b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosProvider.java
  2. +1
    -1
      sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosPublisher.java

+ 1
- 1
sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosProvider.java View File

@@ -33,8 +33,8 @@ import java.util.List;
@Service @Service
public class FlowRuleNacosProvider implements DynamicRuleProvider<List<FlowRuleEntity>> { public class FlowRuleNacosProvider implements DynamicRuleProvider<List<FlowRuleEntity>> {


@Qualifier("configService")
@Autowired @Autowired
@Qualifier("configService")
private ConfigService configService; private ConfigService configService;
@Autowired @Autowired
private NacosProperties nacosProperties; private NacosProperties nacosProperties;


+ 1
- 1
sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosPublisher.java View File

@@ -33,8 +33,8 @@ import java.util.List;
@Service @Service
public class FlowRuleNacosPublisher implements DynamicRulePublisher<List<FlowRuleEntity>> { public class FlowRuleNacosPublisher implements DynamicRulePublisher<List<FlowRuleEntity>> {


@Qualifier("configService")
@Autowired @Autowired
@Qualifier("configService")
private ConfigService configService; private ConfigService configService;
@Autowired @Autowired
private NacosProperties nacosProperties; private NacosProperties nacosProperties;


Loading…
Cancel
Save