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 4 years ago
parent 55d27cb932
commit bc3f028a1f

@ -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"

Loading…
Cancel
Save