Allow default profile to also be set in properties
Update `ConfigFileApplicationListener` so that active profiles set in properties files that overlap with `spring.profiles.default` can still be set. Prior to this commit if `spring.profiles.active` happened to specify a profile name that was also in `spring.profiles.default` it would not get applied. Fixes gh-6833pull/6891/merge
parent
dcfe2673fd
commit
0606428609
@ -1 +1,2 @@
|
||||
spring.profiles.include=specific
|
||||
customprofile-customdefault=true
|
||||
|
@ -1,2 +1,2 @@
|
||||
spring.profiles.active=specific
|
||||
spring.profiles.active=customdefault
|
||||
customprofile=true
|
||||
|
Loading…
Reference in New Issue