Remove URL check that causes loading 401 responses from Spring Cloud Config
This commit is contained in:
committed by
Spencer Gibb
parent
0f0a4963d9
commit
4a2e83ea46
@@ -50,7 +50,6 @@ import org.springframework.core.env.Environment;
|
||||
import org.springframework.core.env.MutablePropertySources;
|
||||
import org.springframework.core.env.PropertySource;
|
||||
import org.springframework.core.env.StandardEnvironment;
|
||||
import org.springframework.util.ResourceUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
import static org.springframework.core.env.StandardEnvironment.SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME;
|
||||
@@ -136,7 +135,6 @@ public class PropertySourceBootstrapConfiguration
|
||||
LogFile logFile = LogFile.get(environment);
|
||||
LoggingSystem system = LoggingSystem.get(LoggingSystem.class.getClassLoader());
|
||||
try {
|
||||
ResourceUtils.getURL(logConfig).openStream().close();
|
||||
// Three step initialization that accounts for the clean up of the logging
|
||||
// context before initialization. Spring Boot doesn't initialize a logging
|
||||
// system that hasn't had this sequence applied (since 1.4.1).
|
||||
|
||||
Reference in New Issue
Block a user