Skip to content

Commit 1855f96

Browse files
committed
Polish "Document spring.config.additional-location should be used early"
See gh-26085
1 parent b0b1c04 commit 1855f96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,7 @@ The following example shows how to specify two locations:
630630

631631
TIP: Use the prefix `optional:` if the <<boot-features-external-config-optional-prefix,locations are optional>> and you don't mind if they don't exist.
632632

633-
WARNING: `spring.config.name`, `spring.config.location`, and `spring.config.additional-location` are used very early to
634-
determine which files have to be loaded.
633+
WARNING: `spring.config.name`, `spring.config.location`, and `spring.config.additional-location` are used very early to determine which files have to be loaded.
635634
They must be defined as an environment property (typically an OS environment variable, a system property, or a command-line argument).
636635

637636
If `spring.config.location` contains directories (as opposed to files), they should end in `/` (at runtime they will be appended with the names generated from `spring.config.name` before being loaded).

0 commit comments

Comments
 (0)