diff --git a/spring-cloud-config-client/src/main/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocator.java b/spring-cloud-config-client/src/main/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocator.java index e847574e..a915244f 100644 --- a/spring-cloud-config-client/src/main/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocator.java +++ b/spring-cloud-config-client/src/main/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocator.java @@ -18,6 +18,7 @@ package org.springframework.cloud.config.client; import java.io.IOException; import java.util.Arrays; +import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; @@ -154,6 +155,13 @@ public class ConfigServicePropertySourceLocator implements PropertySourceLocator } + @Override + @Retryable(interceptor = "configServerRetryInterceptor") + public Collection> locateCollection( + org.springframework.core.env.Environment environment) { + return PropertySourceLocator.locateCollection(this, environment); + } + private void log(Environment result) { if (logger.isInfoEnabled()) { logger.info(String.format(