Skip to content

Commit

Permalink
feat: add a config adjust the property source overriden behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
shenhuaxin committed May 24, 2022
1 parent 6d4b5d8 commit 4d1d27d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private void initializePropertySources() {
if (environment.getPropertySources()
.contains(PropertySourcesConstants.APOLLO_BOOTSTRAP_PROPERTY_SOURCE_NAME)) {

if (!isOverrideSystemProperties(environment)) {
if (isOverrideSystemProperties(environment)) {
// ensure ApolloBootstrapPropertySources is still the first
ensureBootstrapPropertyPrecedence(environment);
}
Expand Down

0 comments on commit 4d1d27d

Please sign in to comment.