diff --git a/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosProvider.java b/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosProvider.java index 9c17c934..1ed9c071 100644 --- a/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosProvider.java +++ b/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosProvider.java @@ -33,8 +33,8 @@ import java.util.List; @Service public class FlowRuleNacosProvider implements DynamicRuleProvider> { - @Qualifier("configService") @Autowired + @Qualifier("configService") private ConfigService configService; @Autowired private NacosProperties nacosProperties; diff --git a/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosPublisher.java b/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosPublisher.java index 97176f56..278cd7ff 100644 --- a/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosPublisher.java +++ b/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/FlowRuleNacosPublisher.java @@ -33,8 +33,8 @@ import java.util.List; @Service public class FlowRuleNacosPublisher implements DynamicRulePublisher> { - @Qualifier("configService") @Autowired + @Qualifier("configService") private ConfigService configService; @Autowired private NacosProperties nacosProperties;