mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
新增etcd服务发现
This commit is contained in:
@@ -156,7 +156,8 @@ func initNode(id string) {
|
||||
nodeId = id
|
||||
err := cluster.GetCluster().Init(GetNodeId(), Setup)
|
||||
if err != nil {
|
||||
log.Fatal("read system config is error ",log.ErrorAttr("error",err))
|
||||
log.Error("Init cluster fail",log.ErrorAttr("error",err))
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
err = initLog()
|
||||
|
||||
Reference in New Issue
Block a user