mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
优化服务发现
This commit is contained in:
@@ -232,12 +232,12 @@ func startNode(args interface{}) error{
|
||||
//2.初始化node
|
||||
initNode(nodeId)
|
||||
|
||||
//3.运行集群
|
||||
cluster.GetCluster().Start()
|
||||
|
||||
//4.运行service
|
||||
//3.运行service
|
||||
service.Start()
|
||||
|
||||
//4.运行集群
|
||||
cluster.GetCluster().Start()
|
||||
|
||||
//5.记录进程id号
|
||||
writeProcessPid(nodeId)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user