Skip to content

Commit

Permalink
Update ApolloApplicationContextInitializer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-wgy authored Aug 25, 2023
1 parent a2ce9b3 commit 1c63bd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void initialize(ConfigurableApplicationContext context) {
protected void initialize(ConfigurableEnvironment environment) {

// should always initialize system properties like app.id in the first place
initializeSystemProperty(configurableEnvironment);
initializeSystemProperty(environment);

final ConfigUtil configUtil = ApolloInjector.getInstance(ConfigUtil.class);
if (environment.getPropertySources().contains(PropertySourcesConstants.APOLLO_BOOTSTRAP_PROPERTY_SOURCE_NAME)) {
Expand Down

0 comments on commit 1c63bd6

Please sign in to comment.