diff --git a/packages/nacos-naming/lib/naming/client.js b/packages/nacos-naming/lib/naming/client.js index 49e18fd..417f5de 100644 --- a/packages/nacos-naming/lib/naming/client.js +++ b/packages/nacos-naming/lib/naming/client.js @@ -80,7 +80,7 @@ class NacosNamingClient extends Base { } const serviceNameWithGroup = utils.getGroupedName(serviceName, groupName); this._beatReactor.removeBeatInfo(serviceNameWithGroup, instance.ip, instance.port); - await this._serverProxy.deregisterService(serviceName, instance); + await this._serverProxy.deregisterService(serviceNameWithGroup, instance); } async getAllInstances(serviceName, groupName = Constants.DEFAULT_GROUP, clusters = '', subscribe = true) {