mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 00:29:01 +00:00
Set ignoreUnknownFields=true on ServerProperties
Update ServerProperties so that unknown SERVER_* environment properties do not cause startup failures. Fixes gh-3903
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ import org.springframework.util.StringUtils;
|
||||
* @author Andy Wilkinson
|
||||
* @author Ivan Sopov
|
||||
*/
|
||||
@ConfigurationProperties(prefix = "server", ignoreUnknownFields = false)
|
||||
@ConfigurationProperties(prefix = "server", ignoreUnknownFields = true)
|
||||
public class ServerProperties implements EmbeddedServletContainerCustomizer, Ordered {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user