diff --git a/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/config/EnvironmentRepositoryConfiguration.java b/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/config/EnvironmentRepositoryConfiguration.java index 62e8eb87..980c63be 100644 --- a/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/config/EnvironmentRepositoryConfiguration.java +++ b/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/config/EnvironmentRepositoryConfiguration.java @@ -237,10 +237,13 @@ public class EnvironmentRepositoryConfiguration { @ConditionalOnClass(SsmClient.class) static class AwsParameterStoreFactoryConfig { - //set the bean name explicitly since we assume the bean name will start with the profile - //name in the case of a composite configuration. The profile name is awsparamstore - //but the method name starts with awsParameterStore and the logic in CompositeUtils.getFactoryName - //will not find a match + // set the bean name explicitly since we assume the bean name will start with the + // profile + // name in the case of a composite configuration. The profile name is + // awsparamstore + // but the method name starts with awsParameterStore and the logic in + // CompositeUtils.getFactoryName + // will not find a match @Bean(name = "awsparamstoreenvironmentrepositoryfactory") public AwsParameterStoreEnvironmentRepositoryFactory awsParameterStoreEnvironmentRepositoryFactory( ConfigServerProperties server) {