Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move field ContextRefresher.REFRESH_ARGS_PROPERTY_SOURCE down to LegacyContextRefresher #1450

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Jan 21, 2025

It's specific to LegacyContextRefresher.

…cyContextRefresher

It's specific to LegacyContextRefresher.

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
@@ -92,9 +92,6 @@ protected void updateEnvironment() {
postProcessor.postProcessEnvironment(environment, application);
}

if (environment.getPropertySources().contains(REFRESH_ARGS_PROPERTY_SOURCE)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this PropertySource is added by LegacyContextRefresher, It's not involved if ConfigDataContextRefresher is using.

@ryanjbaxter ryanjbaxter merged commit 6c352b8 into spring-cloud:main Jan 23, 2025
2 checks passed
@ryanjbaxter ryanjbaxter added this to the 4.1.6 milestone Jan 23, 2025
ryanjbaxter pushed a commit that referenced this pull request Jan 23, 2025
…cyContextRefresher (#1450)

It's specific to LegacyContextRefresher.

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
Status: Done
Status: No status
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants