mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
fix condition with
This commit is contained in:
parent
482e4a101b
commit
6e846f662f
@ -59,7 +59,7 @@ public class NacosRegistration implements Registration, ServiceInstance {
|
||||
Environment env = context.getEnvironment();
|
||||
|
||||
String endpointBasePath = env.getProperty(MANAGEMENT_ENDPOINT_BASE_PATH);
|
||||
if (StringUtils.isEmpty(endpointBasePath)) {
|
||||
if (!StringUtils.isEmpty(endpointBasePath)) {
|
||||
metadata.put(MANAGEMENT_ENDPOINT_BASE_PATH, endpointBasePath);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user