Browse Source

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
pull/22918/head
Phillip Webb 6 years ago
parent
commit
bc3f028a1f
  1. 4
      spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json

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

@ -754,7 +754,7 @@ @@ -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 @@ @@ -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"

Loading…
Cancel
Save