From 07664c288fbe0fa8f4b270642ec6b06eceb3a433 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Sat, 29 Aug 2020 09:58:06 +0000 Subject: [PATCH] Bumping versions --- .../config/server/environment/NativeEnvironmentRepository.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/NativeEnvironmentRepository.java b/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/NativeEnvironmentRepository.java index 2a9e8112..ba39c296 100644 --- a/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/NativeEnvironmentRepository.java +++ b/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/NativeEnvironmentRepository.java @@ -220,7 +220,8 @@ public class NativeEnvironmentRepository map.put("spring.config.location", StringUtils.arrayToCommaDelimitedString( getLocations(application, profile, label).getLocations())); // globally ignore config files that are not found - map.put("spring.config.all-locations-optional", true); //TODO: remove old property + map.put("spring.config.all-locations-optional", true); // TODO: remove old + // property map.put("spring.config.on-location-not-found", "ignore"); environment.getPropertySources() .addFirst(new MapPropertySource("config-data-setup", map));