mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
优化配置结构
This commit is contained in:
@@ -85,7 +85,7 @@ func initNode(id int){
|
||||
|
||||
//4.init service
|
||||
for _,s := range preSetupService {
|
||||
pServiceCfg := cluster.GetCluster().GetServiceCfg(s.GetName())
|
||||
pServiceCfg := cluster.GetCluster().GetServiceCfg(nodeId,s.GetName())
|
||||
s.Init(s,cluster.GetRpcClient,cluster.GetRpcServer,pServiceCfg)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user