Skip to content

Commit

Permalink
Polish "Fix yaml sample format in reference doc"
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Nov 16, 2021
1 parent 793a107 commit 6d79599
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -472,11 +472,11 @@ For example, the following file has two logical documents:
----
spring:
application:
name: "MyApp"
name: MyApp
---
spring:
application:
name: "MyCloudApp"
name: MyCloudApp
config:
activate:
on-cloud-platform: kubernetes
Expand All @@ -488,8 +488,8 @@ For `application.properties` files a special `#---` comment is used to mark the
----
spring.application.name=MyApp
#---
spring.config.activate.on-cloud-platform=kubernetes
spring.application.name=MyCloudApp
spring.config.activate.on-cloud-platform=kubernetes
----

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

0 comments on commit 6d79599

Please sign in to comment.