From bc3f028a1fcee9ebc3db013525a745e213c9675b Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 12 Aug 2020 07:11:31 -0700 Subject: [PATCH] Fix spring.config.activate.on-profile metadata Fix the `spring.config.activate.on-profile` entry which was accidentally entered as `spring.config.import.on-profile`. See gh-22497 --- .../META-INF/additional-spring-configuration-metadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 6d87a017276..60f9c9ef1d2 100644 --- a/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -754,7 +754,7 @@ "sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener", "description": "Comma-separated list of profile expressions that at least one should match for the document to be included.", "deprecation": { - "replacement": "spring.config.import.on-profile", + "replacement": "spring.config.activate.on-profile", "level": "warning" } }, @@ -797,7 +797,7 @@ "sourceType": "org.springframework.boot.context.config.ConfigDataProperties" }, { - "name": "spring.config.import.on-profile", + "name": "spring.config.activate.on-profile", "type": "java.lang.String[]", "description": "Profile expressions that should match for the document to be included", "sourceType": "org.springframework.boot.context.config.ConfigDataProperties"