Fixed heath check error with Nacos by standalone

This commit is contained in:
zhanglong 2020-01-17 02:01:05 +08:00
parent c14ee9ca04
commit 26f2cba100
2 changed files with 1 additions and 1 deletions

View File

@ -43,6 +43,7 @@
<groupId>${project.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>nacos-naming</artifactId> <artifactId>nacos-naming</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${project.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>nacos-istio</artifactId> <artifactId>nacos-istio</artifactId>

View File

@ -423,7 +423,6 @@ public class ServiceManager implements RecordListener<Service> {
public void addOrReplaceService(Service service) throws NacosException { public void addOrReplaceService(Service service) throws NacosException {
consistencyService.put(KeyBuilder.buildServiceMetaKey(service.getNamespaceId(), service.getName()), service); consistencyService.put(KeyBuilder.buildServiceMetaKey(service.getNamespaceId(), service.getName()), service);
} }
public void createEmptyService(String namespaceId, String serviceName, boolean local) throws NacosException { public void createEmptyService(String namespaceId, String serviceName, boolean local) throws NacosException {