Skip to content

Commit

Permalink
获取profile的时候改为从configSource获取,而不是从baseSource获取
Browse files Browse the repository at this point in the history
  • Loading branch information
entropy-cloud committed Aug 10, 2024
1 parent 1036c08 commit 3468608
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ protected void doStart() {

configSources.addAll(appSources);

List<String> profiles = getProfiles(baseSource);
List<String> profiles = getProfiles(configSource);
configSource = new CompositeConfigSource(configSources);
if (!profiles.isEmpty()) {
configSource = new ProfileConfigSource(profiles, configSource);
Expand Down

0 comments on commit 3468608

Please sign in to comment.