fix: compiling issue

This commit is contained in:
Marvin Zhang
2024-07-12 20:05:14 +08:00
parent 0c8b42145a
commit cbdfbf8d1d
4 changed files with 42 additions and 50 deletions

View File

@@ -327,12 +327,6 @@ func newMasterServiceV2() (res *MasterServiceV2, err error) {
stopOnError: false,
}
// server options
var serverOpts []server.Option
if svc.address != nil {
serverOpts = append(serverOpts, server.WithAddress(svc.address))
}
// node config service
svc.cfgSvc = config.GetNodeConfigService()