Browse Source
Previously, `spring.profiles.active` did not trim the individual comma separate values. As a result, such profile wasn't enabled as expected. This commit makes sure to trim whitespaces. Closes gh-5442pull/5535/merge
3 changed files with 54 additions and 2 deletions
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
--- |
||||
spring: |
||||
profiles: |
||||
active: dev, healthcheck |
||||
my: |
||||
property: fromyamlfile |
||||
property2: fromyamlfile |
||||
--- |
||||
spring: |
||||
profiles: dev |
||||
my: |
||||
property: fromdevprofile |
||||
--- |
||||
spring: |
||||
profiles: healthcheck |
||||
my: |
||||
property2: fromhealthcheckprofile |
||||
Loading…
Reference in new issue