Skip to content

Commit c078d0c

Browse files
ranarulaphilwebb
authored andcommitted
Polish SpringBootJoranConfigurator
Closes gh-14845
1 parent f986a30 commit c078d0c

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)