File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ placeholders syntax to access YAML properties.
434
434
435
435
[[boot-features-external-config-multi-profile-yaml]]
436
436
==== Multi-profile YAML documents
437
- You can specify multiple profile-specific YAML document in a single file by
437
+ You can specify multiple profile-specific YAML documents in a single file by
438
438
by using a `spring.profiles` key to indicate when the document applies. For example:
439
439
440
440
[source,yaml,indent=0]
@@ -453,9 +453,10 @@ by using a `spring.profiles` key to indicate when the document applies. For exam
453
453
address: 192.168.1.120
454
454
----
455
455
456
- In the example above, the `server.address` property will be `127.0.0.1` if the `development`
457
- profile is active. If the `development` and `production` profiles are **not** enabled, then the
458
- value for the property will be `192.168.1.100`
456
+ In the example above, the `server.address` property will be `127.0.0.1` if the
457
+ `development` profile is active. If the `development` and `production` profiles are *not*
458
+ enabled, then the value for the property will be `192.168.1.100`
459
+
459
460
460
461
461
462
[[boot-features-external-config-yaml-shortcomings]]
@@ -646,6 +647,7 @@ to determine when this particular document is included in the configuration. See
646
647
<<howto-change-configuration-depending-on-the-environment>> for more details.
647
648
648
649
650
+
649
651
[[boot-features-programmatically-setting-profiles]]
650
652
=== Programmatically setting profiles
651
653
You can programmatically set active profiles by calling
You can’t perform that action at this time.
0 commit comments