Skip to content

Commit

Permalink
Update core/deployment/src/main/java/io/quarkus/deployment/steps/Conf…
Browse files Browse the repository at this point in the history
…igGenerationBuildStep.java

Co-authored-by: David M. Lloyd <[email protected]>
(cherry picked from commit d86bfca)
  • Loading branch information
radcortez authored and gsmet committed Mar 25, 2024
1 parent a0be650 commit 7df6b0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void generateBuilders(
defaultValues.put(e.getKey(), e.getValue());
}
// Recorded values from build time from any other source (higher ordinal then defaults, so override)
String[] profiles = ConfigProvider.getConfig().unwrap(SmallRyeConfig.class).getProfiles().toArray(new String[] {});
String[] profiles = ConfigProvider.getConfig().unwrap(SmallRyeConfig.class).getProfiles().toArray(String[]::new);
for (Map.Entry<String, String> entry : configItem.getReadResult().getRunTimeValues().entrySet()) {
// Runtime values may contain active profiled names that override sames names in defaults
// We need to keep the original name definition in case a different profile is used to run the app
Expand Down

0 comments on commit 7df6b0f

Please sign in to comment.