Skip to content

Commit bc3f028

Browse files
committed
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
1 parent 55d27cb commit bc3f028

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@
754754
"sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener",
755755
"description": "Comma-separated list of profile expressions that at least one should match for the document to be included.",
756756
"deprecation": {
757-
"replacement": "spring.config.import.on-profile",
757+
"replacement": "spring.config.activate.on-profile",
758758
"level": "warning"
759759
}
760760
},
@@ -797,7 +797,7 @@
797797
"sourceType": "org.springframework.boot.context.config.ConfigDataProperties"
798798
},
799799
{
800-
"name": "spring.config.import.on-profile",
800+
"name": "spring.config.activate.on-profile",
801801
"type": "java.lang.String[]",
802802
"description": "Profile expressions that should match for the document to be included",
803803
"sourceType": "org.springframework.boot.context.config.ConfigDataProperties"

0 commit comments

Comments
 (0)