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:
commit
5f10d99e57
@ -32,7 +32,7 @@ import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
|||||||
public class SentinelZuulProperties {
|
public class SentinelZuulProperties {
|
||||||
|
|
||||||
@NestedConfigurationProperty
|
@NestedConfigurationProperty
|
||||||
private SentinelZuulProperties.Order order;
|
private SentinelZuulProperties.Order order = new SentinelZuulProperties.Order();
|
||||||
|
|
||||||
public Order getOrder() {
|
public Order getOrder() {
|
||||||
return order;
|
return order;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user