mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Merge branch '3.1.x' into 3.2.x
Closes gh-39786
This commit is contained in:
+1
-2
@@ -95,8 +95,7 @@ final class SpringProfileArbiter implements Arbiter {
|
||||
public SpringProfileArbiter build() {
|
||||
Environment environment = Log4J2LoggingSystem.getEnvironment(this.loggerContext);
|
||||
if (environment == null) {
|
||||
statusLogger.warn("Cannot create Arbiter, no Spring Environment available");
|
||||
return null;
|
||||
statusLogger.debug("Creating Arbiter without a Spring Environment");
|
||||
}
|
||||
String name = this.configuration.getStrSubstitutor().replace(this.name);
|
||||
String[] profiles = StringUtils.trimArrayElements(StringUtils.commaDelimitedListToStringArray(name));
|
||||
|
||||
Reference in New Issue
Block a user