fix:fix PolarisContextProperties instantiated twice causing NPE.

pull/1638/head
Haotian Zhang 2 months ago
parent 7a234714b8
commit d1dcc13d37

@ -68,7 +68,7 @@ public class PolarisContextProperties {
/**
* current server local port.
*/
@Value("${spring.cloud.polaris.localPort:}")
@Value("${spring.cloud.polaris.localPort:0}")
private Integer localPort;
/**

Loading…
Cancel
Save