[ISSUE #11951] Fix the problem that the servicename and groupname are not resolved correctly when deleting an empty service instance (#11955)
* Fixed an issue where the maximum number of anti-fragile plug-ins implemented by default in Nacos is one more than the actual number of connections. * bug fix : 修改删除空服务实例时,服务名和分组名没有正确解析的问题
This commit is contained in:
parent
9b2cc662ec
commit
2005ca6f90
@ -131,7 +131,8 @@ public class ServiceController {
|
||||
|
||||
getServiceOperator().delete(namespaceId, serviceName);
|
||||
NotifyCenter.publishEvent(
|
||||
new DeregisterServiceTraceEvent(System.currentTimeMillis(), namespaceId, "", serviceName));
|
||||
new DeregisterServiceTraceEvent(System.currentTimeMillis(), namespaceId,
|
||||
NamingUtils.getGroupName(serviceName), NamingUtils.getServiceName(serviceName)));
|
||||
return "ok";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user