Skip to content

Commit f4b73da

Browse files
committed
Document when environment variable property mapping applies
Closes gh-41877
1 parent 0e4091e commit f4b73da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,9 +938,9 @@ For example, the configuration property `spring.main.log-startup-info` would be
938938

939939
Environment variables can also be used when binding to object lists.
940940
To bind to a `List`, the element number should be surrounded with underscores in the variable name.
941-
942941
For example, the configuration property `my.service[0].other` would use an environment variable named `MY_SERVICE_0_OTHER`.
943942

943+
Support for binding from environment variables is applied to the `systemEnvironment` property source and to any additional property source whose name ends with `-systemEnvironment`.
944944

945945

946946
[[features.external-config.typesafe-configuration-properties.relaxed-binding.caching]]

0 commit comments

Comments
 (0)