fix: unable to sync directories to work nodes

This commit is contained in:
Marvin Zhang
2024-07-01 15:59:20 +08:00
parent 7f35e1b2ee
commit 840100dbc3
40 changed files with 768 additions and 1540 deletions

View File

@@ -193,10 +193,7 @@ func NewNodeServer() (res *NodeServer, err error) {
if err != nil {
return nil, err
}
svr.cfgSvc, err = nodeconfig.NewNodeConfigService()
if err != nil {
return nil, err
}
svr.cfgSvc = nodeconfig.GetNodeConfigService()
return svr, nil
}