Allow multi-value spring.profiles properties
Update `ConfigFileApplicationListener` to correctly load properties that have `spring.profiles` values containing a list. Prior to this commit the loaded would attempt to add the same document twice resulting in a "property source cannot be added relative to itself" error. Closes gh-13362pull/13388/head
parent
67b548dafb
commit
e1d21e52d5
@ -0,0 +1,6 @@
|
||||
spring.profiles.active: test, another-test
|
||||
message: default
|
||||
---
|
||||
spring:
|
||||
profiles: test,another-test
|
||||
message: multiprofile
|
Loading…
Reference in New Issue