1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Merge pull request #1217 from yuhuangbin/sentinel-zuul

fix Sentinel zuul NPE
This commit is contained in:
Jim Fang 2020-02-27 09:52:21 +08:00 committed by GitHub
commit 5f10d99e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ import org.springframework.boot.context.properties.NestedConfigurationProperty;
public class SentinelZuulProperties {
@NestedConfigurationProperty
private SentinelZuulProperties.Order order;
private SentinelZuulProperties.Order order = new SentinelZuulProperties.Order();
public Order getOrder() {
return order;