Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use unique names for wildcard property sources
Update `StandardConfigDataLoader` to use unique names for property sources imported from a wildcard location. Prior to this commit, all the property sources created from the same wildcard location would have the same name. Each time a property source that is equal to an existing property source is added, it replaces the existing property source. Property source equality is name-based so this resulted in the last property sources from the wildcard location winning. This commit updates `StandardConfigDataLoader` to use the resolved Resource rather than the wildcard location in which it was discovered in the name of the property source that it creates, ensuring that each is property source from a wildcard location is uniquely named. Fixes gh-24428
- Loading branch information
1 parent
aaaed07
commit 32e1289
Showing
3 changed files
with
22 additions
and
9 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
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