Skip to content

Commit 1657945

Browse files
committed
Merge pull request #14845 from ranarula
* pr/14845: Polish SpringBootJoranConfigurator
2 parents f986a30 + c078d0c commit 1657945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringBootJoranConfigurator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void addInstanceRules(RuleStore rs) {
4545
rs.addRule(new ElementSelector("configuration/springProperty"),
4646
new SpringPropertyAction(environment));
4747
rs.addRule(new ElementSelector("*/springProfile"),
48-
new SpringProfileAction(this.initializationContext.getEnvironment()));
48+
new SpringProfileAction(environment));
4949
rs.addRule(new ElementSelector("*/springProfile/*"), new NOPAction());
5050
}
5151

0 commit comments

Comments
 (0)