Fix #1029
This commit is contained in:
parent
6cfdf1063b
commit
026c430512
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user