From c52f72142bc2646bea262c948c0988bc1012e5f9 Mon Sep 17 00:00:00 2001 From: Mercy Ma Date: Fri, 17 Jan 2025 18:37:48 +0800 Subject: [PATCH] Update AutoRefreshCapability.java --- .../cloud/openfeign/autorefresh/AutoRefreshCapability.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/microsphere-spring-cloud-openfeign/src/main/java/io/microsphere/spring/cloud/openfeign/autorefresh/AutoRefreshCapability.java b/microsphere-spring-cloud-openfeign/src/main/java/io/microsphere/spring/cloud/openfeign/autorefresh/AutoRefreshCapability.java index 54981d3..dbd2318 100644 --- a/microsphere-spring-cloud-openfeign/src/main/java/io/microsphere/spring/cloud/openfeign/autorefresh/AutoRefreshCapability.java +++ b/microsphere-spring-cloud-openfeign/src/main/java/io/microsphere/spring/cloud/openfeign/autorefresh/AutoRefreshCapability.java @@ -29,13 +29,13 @@ public class AutoRefreshCapability implements Capability, ApplicationContextAware { private final FeignComponentRegistry componentRegistry; - //private final FeignClientFactory feignClientFactory; + private final NamedContextFactory contextFactory; + private final FeignClientProperties clientProperties; private String contextId; - public AutoRefreshCapability(FeignClientProperties clientProperties, NamedContextFactory contextFactory, FeignComponentRegistry componentRegistry) { this.clientProperties = clientProperties; this.contextFactory = contextFactory;