mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
fix sentinel-zuul NPE
This commit is contained in:
parent
40671aae98
commit
becc2dff86
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user