mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Polish alibaba/spring-cloud-alibaba#1453 : [Nacos] Adding the destroy lifecycle callback for NamingService
This commit is contained in:
parent
43eaadd30a
commit
5da87d756d
@ -16,8 +16,6 @@
|
||||
|
||||
package com.alibaba.cloud.sidecar.nacos;
|
||||
|
||||
import java.net.SocketException;
|
||||
|
||||
import com.alibaba.cloud.nacos.NacosDiscoveryProperties;
|
||||
import com.alibaba.cloud.sidecar.SidecarProperties;
|
||||
|
||||
@ -35,7 +33,7 @@ public class SidecarNacosDiscoveryProperties extends NacosDiscoveryProperties {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() throws SocketException {
|
||||
public void init() throws Exception {
|
||||
super.init();
|
||||
|
||||
String ip = sidecarProperties.getIp();
|
||||
|
Loading…
x
Reference in New Issue
Block a user