From afa73fd4a3b1d07c1d95059f422e64e670d1e3eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B5=A9=20Nineteen?= <2499904609@qq.com> Date: Mon, 31 Oct 2022 11:04:46 +0800 Subject: [PATCH] fix batch Deregister Common (#9419) --- .../alibaba/nacos/client/naming/remote/NamingClientProxy.java | 2 +- .../nacos/client/naming/remote/gprc/NamingGrpcClientProxy.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/main/java/com/alibaba/nacos/client/naming/remote/NamingClientProxy.java b/client/src/main/java/com/alibaba/nacos/client/naming/remote/NamingClientProxy.java index 2b874aea9..023621f42 100644 --- a/client/src/main/java/com/alibaba/nacos/client/naming/remote/NamingClientProxy.java +++ b/client/src/main/java/com/alibaba/nacos/client/naming/remote/NamingClientProxy.java @@ -55,7 +55,7 @@ public interface NamingClientProxy extends Closeable { void batchRegisterService(String serviceName, String groupName, List instances) throws NacosException; /** - * Batch register instance to service with specified instance properties. + * Batch deRegister instance to service with specified instance properties. * * @param serviceName service name * @param groupName group name diff --git a/client/src/main/java/com/alibaba/nacos/client/naming/remote/gprc/NamingGrpcClientProxy.java b/client/src/main/java/com/alibaba/nacos/client/naming/remote/gprc/NamingGrpcClientProxy.java index bcdd0aa0d..802b89cad 100644 --- a/client/src/main/java/com/alibaba/nacos/client/naming/remote/gprc/NamingGrpcClientProxy.java +++ b/client/src/main/java/com/alibaba/nacos/client/naming/remote/gprc/NamingGrpcClientProxy.java @@ -138,7 +138,7 @@ public class NamingGrpcClientProxy extends AbstractNamingClientProxy { } /** - * Get instance list that need to be deregistered. + * Get instance list that need to be Retained. * * @param serviceName service name * @param groupName group name