Skip to content

Commit 6d79599

Browse files
committed
Polish "Fix yaml sample format in reference doc"
See gh-28670
1 parent 793a107 commit 6d79599

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,11 @@ For example, the following file has two logical documents:
472472
----
473473
spring:
474474
application:
475-
name: "MyApp"
475+
name: MyApp
476476
---
477477
spring:
478478
application:
479-
name: "MyCloudApp"
479+
name: MyCloudApp
480480
config:
481481
activate:
482482
on-cloud-platform: kubernetes
@@ -488,8 +488,8 @@ For `application.properties` files a special `#---` comment is used to mark the
488488
----
489489
spring.application.name=MyApp
490490
#---
491-
spring.config.activate.on-cloud-platform=kubernetes
492491
spring.application.name=MyCloudApp
492+
spring.config.activate.on-cloud-platform=kubernetes
493493
----
494494

495495
NOTE: Property file separators must not have any leading whitespace and must have exactly three hyphen characters.

0 commit comments

Comments
 (0)