-
Notifications
You must be signed in to change notification settings - Fork 40.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow spring.profiles.include to be used anywhere to add active profiles
Previously, spring.profiles.include was only considered when it was used in a configuration file. It was ignored in any other property source. This commit updates ConfigFileApplicationListener so that spring.profiles.include can be used in any property source to add to the profiles that have been declared active via spring.profiles.active. Closes gh-7668
- Loading branch information
1 parent
07d9c3f
commit 393cfe5
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters