优化验证重复安装服务

This commit is contained in:
boyce
2020-12-03 15:00:20 +08:00
parent b972709605
commit 9db4a42d10
3 changed files with 10 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ func (cls *Cluster) serviceDiscoverySetNodeInfo (nodeInfo *NodeInfo){
log.Error("Bad duplicate Service Cfg.")
continue
}
mapDuplicate[serviceName] = nil
cls.mapServiceNode[serviceName] = append(cls.mapServiceNode[serviceName],nodeInfo.NodeId)
}