Commit 82c8d819 by Johannes Edmeier

No ignoreUnknownFields=false in AdminClientProps

There is a problem with the relaxed binding for system environment variables in spring boot and ignoreUnknownFields for ConfigurationProperties. So we need to remove it for now. fixes #135
parent 502a4dab
...@@ -25,13 +25,10 @@ import org.springframework.boot.autoconfigure.web.ServerProperties; ...@@ -25,13 +25,10 @@ import org.springframework.boot.autoconfigure.web.ServerProperties;
import org.springframework.boot.context.event.ApplicationReadyEvent; import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.event.EventListener; import org.springframework.context.event.EventListener;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
@ConfigurationProperties(prefix = "spring.boot.admin.client", ignoreUnknownFields = false) @ConfigurationProperties(prefix = "spring.boot.admin.client")
@Order(Ordered.LOWEST_PRECEDENCE - 100)
public class AdminClientProperties { public class AdminClientProperties {
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment