Skip to content

Commit 44b644c

Browse files
committed
Merge branch '2.5.x'
Closes gh-28693
2 parents 6d4537b + 48ebd1b commit 44b644c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -786,13 +786,13 @@ This style of configuration works particularly well with the `SpringApplication`
786786
[source,yaml,indent=0,subs="verbatim"]
787787
----
788788
my:
789-
service:
790-
remote-address: 192.168.1.1
791-
security:
792-
username: admin
793-
roles:
794-
- USER
795-
- ADMIN
789+
service:
790+
remote-address: 192.168.1.1
791+
security:
792+
username: admin
793+
roles:
794+
- USER
795+
- ADMIN
796796
----
797797

798798
To work with `@ConfigurationProperties` beans, you can inject them in the same way as any other bean, as shown in the following example:

0 commit comments

Comments
 (0)