This commit is contained in:
nkorange 2019-04-09 19:56:48 +08:00
parent 6cfdf1063b
commit 026c430512

View File

@ -394,10 +394,6 @@ public class ServiceManager implements RecordListener<Service> {
"service not found, namespace: " + namespaceId + ", service: " + serviceName);
}
if (service.allIPs().contains(instance)) {
throw new NacosException(NacosException.INVALID_PARAM, "instance already exist: " + instance);
}
addInstance(namespaceId, serviceName, instance.isEphemeral(), instance);
}