Skip to content

Expand included profiles when default is requested first - #3398

Open
SAY-5 wants to merge 1 commit into
spring-cloud:mainfrom
SAY-5:fix-default-first-profile-include
Open

SAY-5 wants to merge 1 commit into
spring-cloud:mainfrom
SAY-5:fix-default-first-profile-include

Conversation

@SAY-5

@SAY-5 SAY-5 commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Fixes gh-3260

NativeEnvironmentRepository ignores profile activation whenever the first requested profile is default, so a request for default,prod drops the profiles pulled in by spring.profiles.include or a profile group, while prod,default keeps them. The check now only applies when nothing but default is requested, which is the case #3023 was after.

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Included profiles are not loaded anymore

2 participants