mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
2.1.1
This commit is contained in:
@@ -50,7 +50,7 @@ public class OpenServiceConfig extends SpringMvcServiceConfiguration {
|
||||
|
||||
Instance instance = this.getInstance(serviceId, ip, port, contextPath);
|
||||
namingService.registerInstance(serviceId, instance);
|
||||
log.info("注册到nacos, serviceId:{}, ip:{}, port:{}", serviceId, ip, port);
|
||||
log.info("注册到nacos, serviceId: {}, ip: {}, port: {}, contextPath: {}", serviceId, ip, port, contextPath);
|
||||
} catch (NacosException e) {
|
||||
log.error("注册nacos失败", e);
|
||||
throw new RuntimeException("注册nacos失败", e);
|
||||
|
Reference in New Issue
Block a user